I am an Engineer in the Engineering Development Group at Mathworks, Hyderabad.

My area of interest are signal processing, machine learning, deep learning and communication systems.

DISCLAIMER: Any advice here are my own and no way reflect that of the Mathworks.

Answered

Custom filedatastore for deep learning

Hi In this case, you can create a custom ReadFcn while creating a file datastore. For more information, you can refer this docu...

Custom filedatastore for deep learning

Hi In this case, you can create a custom ReadFcn while creating a file datastore. For more information, you can refer this docu...

4 dagar ago | 0

Answered

balancing chemical equation using linear algebra in matlab

Hi One of the possible approach is to find the simultaneous equations of coefficients of the chemical equationa nd solve those ...

balancing chemical equation using linear algebra in matlab

Hi One of the possible approach is to find the simultaneous equations of coefficients of the chemical equationa nd solve those ...

4 dagar ago | 0

Answered

Deep Learning : Network output a flattened image (help with theory and ideas)

Hi It seems you are perfroming image regression. You may try with convolution autoencoder based networks like SegNet or any ot...

Deep Learning : Network output a flattened image (help with theory and ideas)

Hi It seems you are perfroming image regression. You may try with convolution autoencoder based networks like SegNet or any ot...

4 dagar ago | 0

Answered

Custom use of Softmax activation function in LSTM MAtlab for Solar forecasting

Hi Softmax layer bounds the output between [0,1] and usually it is used while training a classification network. In your case, ...

Custom use of Softmax activation function in LSTM MAtlab for Solar forecasting

Hi Softmax layer bounds the output between [0,1] and usually it is used while training a classification network. In your case, ...

5 dagar ago | 0

Answered

Pixel label image has scalar pixel label IDs instead of RGB-triplet pixel label IDs

Hi The labeled images have label ID (for Eg: 1,2,3 etc. upto number of classes). So it look black as label ID value is small. T...

Pixel label image has scalar pixel label IDs instead of RGB-triplet pixel label IDs

Hi The labeled images have label ID (for Eg: 1,2,3 etc. upto number of classes). So it look black as label ID value is small. T...

7 dagar ago | 0

Answered

Error with the function 'trainNetwork'. Error: 'Invalid training data. Responses must be a vector of categorical responses, or a cell array of categorical response sequences.' Line 170.

Hi I assume the first error is resolved by Walter comment. It seems the size of 'labels_train' is 1x500 and 'x_train' is 3x500...

Error with the function 'trainNetwork'. Error: 'Invalid training data. Responses must be a vector of categorical responses, or a cell array of categorical response sequences.' Line 170.

Hi I assume the first error is resolved by Walter comment. It seems the size of 'labels_train' is 1x500 and 'x_train' is 3x500...

7 dagar ago | 0

Answered

color detection with convolutional network

Hi In this case, you can consider it a image classification task where output is the color category.You can refer to this docu...

color detection with convolutional network

Hi In this case, you can consider it a image classification task where output is the color category.You can refer to this docu...

ungefär en månad ago | 0

| accepted

Answered

Query regarding using image3Dinputlayer

Hi To train a CNN, the input size needs to be same. The possible workaround in your case can be, try to append a matrix of zero...

Query regarding using image3Dinputlayer

Hi To train a CNN, the input size needs to be same. The possible workaround in your case can be, try to append a matrix of zero...

ungefär en månad ago | 0

| accepted

Answered

Using DeepLearning Toolbox to approximate function - possible?

Hi If the input output relation is known, then it straight forward to use that relation and estimate the result. In your case, ...

Using DeepLearning Toolbox to approximate function - possible?

Hi If the input output relation is known, then it straight forward to use that relation and estimate the result. In your case, ...

ungefär en månad ago | 0

Answered

1D CNN/ DNN for regression

Hi You are adding 9 different noise in input and reconstructing the original input. Still it is unclear about the noise additi...

1D CNN/ DNN for regression

Hi You are adding 9 different noise in input and reconstructing the original input. Still it is unclear about the noise additi...

2 månader ago | 0

| accepted

Answered

How to count the objects after implementing Semantic segmentation ?

Hi You can find the binary image of a class, which consists of background pixels and the class pixels. After that you can use r...

How to count the objects after implementing Semantic segmentation ?

Hi You can find the binary image of a class, which consists of background pixels and the class pixels. After that you can use r...

2 månader ago | 0

Answered

Neural network Nonlinear regression

Hi By looking at your input output size, I am assuming you are estimating 99 dimensional output from 4 dimensional input. You c...

Neural network Nonlinear regression

Hi By looking at your input output size, I am assuming you are estimating 99 dimensional output from 4 dimensional input. You c...

2 månader ago | 0

| accepted

Answered

Crop resulting image in Cascade object Detector

Hi The detector is returning the coordinates of the bounding box which is present in the image. It may be in the format of (x,y...

Crop resulting image in Cascade object Detector

Hi The detector is returning the coordinates of the bounding box which is present in the image. It may be in the format of (x,y...

2 månader ago | 0

Answered

How to deal with inputs of different sizes for a deep learning model like 3D U-Net and V-Net?

Hi Input size of a CNN is required to be same because the network architecture depends upon the dimension of input. As your dat...

How to deal with inputs of different sizes for a deep learning model like 3D U-Net and V-Net?

Hi Input size of a CNN is required to be same because the network architecture depends upon the dimension of input. As your dat...

2 månader ago | 0

Answered

Summing Elementwise Values in a Vector

Hi You can refer the below code which can be used to find the sum of the elements which you are doing. Hope it will help! func...

Summing Elementwise Values in a Vector

Hi You can refer the below code which can be used to find the sum of the elements which you are doing. Hope it will help! func...

2 månader ago | 0

Answered

How to visualize the predicted values of segmentation from softmax output?

Hi The softmax layer gives the probability of the predicted class. To get the segmented result from that, you can put the prob...

How to visualize the predicted values of segmentation from softmax output?

Hi The softmax layer gives the probability of the predicted class. To get the segmented result from that, you can put the prob...

2 månader ago | 0

| accepted

Answered

Get input/output gradient of neural network

Hi In general, in any neural network, the network tries to learn the weights which can reduce the cost/ loss function. The grad...

Get input/output gradient of neural network

Hi In general, in any neural network, the network tries to learn the weights which can reduce the cost/ loss function. The grad...

2 månader ago | 0

Answered

How to generate the convolution density and integrate it on [a,b] fastly and precisely?

Hi You can use 'conv' function to perform the convolution of the CDF and 'integral' function to perform integration. For more i...

How to generate the convolution density and integrate it on [a,b] fastly and precisely?

Hi You can use 'conv' function to perform the convolution of the CDF and 'integral' function to perform integration. For more i...

3 månader ago | 1

Answered

Is there any simulink block model for ball bearing?

Hi There is a similar question answered here, hope it will help.

Is there any simulink block model for ball bearing?

Hi There is a similar question answered here, hope it will help.

3 månader ago | 0

| accepted

Answered

Create Graphics with Matlab

Hi It seems you want to plot the multiple function in a single figure. You can use the 'plot' function to plot it. For more in...

Create Graphics with Matlab

Hi It seems you want to plot the multiple function in a single figure. You can use the 'plot' function to plot it. For more in...

3 månader ago | 0

| accepted

Answered

Convolution neural network equations

Hi As you know about the feedforward and backpropagation process, for feedforward network we need to create the network archite...

Convolution neural network equations

Hi As you know about the feedforward and backpropagation process, for feedforward network we need to create the network archite...

4 månader ago | 1

| accepted

Answered

Extracting network from a 3D geometry

Hi You can do this by using thresholding as suggested. For example, consider the line of code: a=imread('image.png'); gray=r...

Extracting network from a 3D geometry

Hi You can do this by using thresholding as suggested. For example, consider the line of code: a=imread('image.png'); gray=r...

4 månader ago | 1

Answered

How Can I combine HOG descriptors as input and CNN for Classification as output

Hi It seems you want to classify the image based on HOG features. You can do by storing the features in an array and pass it to...

How Can I combine HOG descriptors as input and CNN for Classification as output

Hi It seems you want to classify the image based on HOG features. You can do by storing the features in an array and pass it to...

4 månader ago | 0

Answered

Matrix Dimension must agree - Vectorization

Hi It seems you want to apply a function on each element of an array without applying for loop. In this case, create that funct...

Matrix Dimension must agree - Vectorization

Hi It seems you want to apply a function on each element of an array without applying for loop. In this case, create that funct...

4 månader ago | 0

Answered

How to Calculate White/Black Ratio within a border of an image

Hi You can find the ratio of black to white part by removing the top and bottom black pixels into calculation. After removing t...

How to Calculate White/Black Ratio within a border of an image

Hi You can find the ratio of black to white part by removing the top and bottom black pixels into calculation. After removing t...

4 månader ago | 0

Answered

How to know the GPU memory needed when training a detector network like faster R-CNN?

Hi I think 6GB GPU is enough for your code. Check if the code is running on CPU/ GPU. To run the code on GPU, set ExecutionEnvi...

How to know the GPU memory needed when training a detector network like faster R-CNN?

Hi I think 6GB GPU is enough for your code. Check if the code is running on CPU/ GPU. To run the code on GPU, set ExecutionEnvi...

4 månader ago | 0

| accepted

Answered

Checkpoint not working with batch normalization

Hi The possible workaround of this problem is to save the weights of the network or the complete workspace after completion of ...

Checkpoint not working with batch normalization

Hi The possible workaround of this problem is to save the weights of the network or the complete workspace after completion of ...

4 månader ago | 0

Answered

How can I turn off the activation of a single unit in deep neural networks?

Hi You can create a custom activation function in MATLAB and can keep the particular unit as same and for the rest of the nodes...

How can I turn off the activation of a single unit in deep neural networks?

Hi You can create a custom activation function in MATLAB and can keep the particular unit as same and for the rest of the nodes...

4 månader ago | 0

Answered

Further documentation for regionprops

Hi The centroid coordinate is the mean of the points coordinates (x and y coordinate values) of each connected component.

Further documentation for regionprops

Hi The centroid coordinate is the mean of the points coordinates (x and y coordinate values) of each connected component.

4 månader ago | 0

Answered

Empty sym: 0-by-1

Hi The function solve is the symbolic solver. You can use vpasolve function to find the solution. For example, for your case: ...

Empty sym: 0-by-1

Hi The function solve is the symbolic solver. You can use vpasolve function to find the solution. For example, for your case: ...

4 månader ago | 0