I am an Application Support Engineer in the EDG Group, The MathWorks.

My Area of Interest are MATLAB, Deep Learning and Image Processing.

DISCLAIMER: Any Advice or opinions here are my own, and in no way reflect that of MathWorks.

Answered

Find zeros in one variable and mark it in another one

Hi, Since blinks is a matrix, you need to give both indexes while accessing any row and column. Since that would be the correc...

Find zeros in one variable and mark it in another one

Hi, Since blinks is a matrix, you need to give both indexes while accessing any row and column. Since that would be the correc...

19 days ago | 0

| accepted

Answered

Recurrent Neural Networks Primer

Hi, There are two ways you can use recurrent neural networks. If you want to use shallow network which have less complexity,...

Recurrent Neural Networks Primer

Hi, There are two ways you can use recurrent neural networks. If you want to use shallow network which have less complexity,...

19 days ago | 0

Answered

To create a mak for an image

Hi, For generating mask for large amount of data you need to have good amount of labeled data in which you correctly mention t...

To create a mak for an image

Hi, For generating mask for large amount of data you need to have good amount of labeled data in which you correctly mention t...

23 days ago | 0

Answered

What Kind of Pre-processing is required for images for transfer learning and training AlexNet?

Hi, There are several preprocessing techniques which can be used for preparing data to pass to a network for transfer learning...

What Kind of Pre-processing is required for images for transfer learning and training AlexNet?

Hi, There are several preprocessing techniques which can be used for preparing data to pass to a network for transfer learning...

23 days ago | 0

| accepted

Answered

problem using for loop

Hi, Since Corners variable is a matrix, length is probably not the correct function to get the number of elements in particula...

problem using for loop

Hi, Since Corners variable is a matrix, length is probably not the correct function to get the number of elements in particula...

23 days ago | 0

Answered

Calculation of probality numbers from "matrix/array"

Hi, You can count number of element equal to a particular number in a vector/matrix using nnz and equality condition. For abov...

Calculation of probality numbers from "matrix/array"

Hi, You can count number of element equal to a particular number in a vector/matrix using nnz and equality condition. For abov...

23 days ago | 1

Answered

Mathematical model extraction from NARX net?

Hi, The mathematical model will be very complicated for 15 hidden layers and that too for Non-linear modelling that is being d...

Mathematical model extraction from NARX net?

Hi, The mathematical model will be very complicated for 15 hidden layers and that too for Non-linear modelling that is being d...

25 days ago | 0

Answered

Size of coeff in PCA example is not correct

Hi, The vector you are seeing in your result is the component wise variance of each principal component. I tried the same exam...

Size of coeff in PCA example is not correct

Hi, The vector you are seeing in your result is the component wise variance of each principal component. I tried the same exam...

25 days ago | 0

Answered

Partially labelled semantic segmentation

Hi, Assigning zero class weight to unlabeled pixel will help in removing them from loss calculation during training however wh...

Partially labelled semantic segmentation

Hi, Assigning zero class weight to unlabeled pixel will help in removing them from loss calculation during training however wh...

25 days ago | 0

| accepted

Answered

How to replace imageInputLayer with sequenceInputLayer in imported Tensorflow Keras network

Hi Lucas, From the error message it is evident that the inputLayer in your code must contain a valid name (any character array...

How to replace imageInputLayer with sequenceInputLayer in imported Tensorflow Keras network

Hi Lucas, From the error message it is evident that the inputLayer in your code must contain a valid name (any character array...

25 days ago | 0

| accepted

Answered

xlim and ylim for contourf

Hi, The axis equal command after xlim and ylim squeezes one of the axis limits to fit the figure box into minimum space. This ...

xlim and ylim for contourf

Hi, The axis equal command after xlim and ylim squeezes one of the axis limits to fit the figure box into minimum space. This ...

26 days ago | 0

| accepted

Answered

Detecting droplets in an image

Hi, There are two image processing methods that can be useful for doing this. You can use regionprops for finding the connecte...

Detecting droplets in an image

Hi, There are two image processing methods that can be useful for doing this. You can use regionprops for finding the connecte...

26 days ago | 0

Answered

How to change imgae in imageLabelingSession.mat file

Hi, I assume after doing the labeling you have exported the labels as a groundTruth object. The groundTruth object contains th...

How to change imgae in imageLabelingSession.mat file

Hi, I assume after doing the labeling you have exported the labels as a groundTruth object. The groundTruth object contains th...

26 days ago | 0

Answered

understanding forecasting code in matlab

Hi, The default method used by the optimoptions mentioned in the code is linprog which is to solve linear programming problems...

understanding forecasting code in matlab

Hi, The default method used by the optimoptions mentioned in the code is linprog which is to solve linear programming problems...

26 days ago | 0

Answered

Solving Maxwell's Equations in a 1D

Hi, I am not sure about a full example on Maxwell’s equation but for the query of gradient, curl and divergence of a vector fi...

Solving Maxwell's Equations in a 1D

Hi, I am not sure about a full example on Maxwell’s equation but for the query of gradient, curl and divergence of a vector fi...

26 days ago | 0

Answered

Data fitting- Fitted coefficient 'fixed at bound'

Hi, The possible Name Value pair you may change is “DiffMinChange” which signifies the minimum change that will happen between...

Data fitting- Fitted coefficient 'fixed at bound'

Hi, The possible Name Value pair you may change is “DiffMinChange” which signifies the minimum change that will happen between...

26 days ago | 0

Answered

why psd result estimated by fft is related to frequency resolution?

Hi, The power spectral density estimate shown in each T=1,10,100,1000 is correct as it shows a peak around 100 Hz which exactl...

why psd result estimated by fft is related to frequency resolution?

Hi, The power spectral density estimate shown in each T=1,10,100,1000 is correct as it shows a peak around 100 Hz which exactl...

26 days ago | 0

Answered

Preprocessing EEG and EMG

Hi, These following File Exchange submissions are related to preprocessing EEG and EMG data separately. SSVEP-EEG Signal Pro...

Preprocessing EEG and EMG

Hi, These following File Exchange submissions are related to preprocessing EEG and EMG data separately. SSVEP-EEG Signal Pro...

28 days ago | 1

Answered

Code keeps on running. Neither shows error nor gets executed.

Hi, From the code I see the differential equation after the “set1 over” comment is dependent on variables gln(t) and glc(t). S...

Code keeps on running. Neither shows error nor gets executed.

Hi, From the code I see the differential equation after the “set1 over” comment is dependent on variables gln(t) and glc(t). S...

28 days ago | 0

| accepted

Answered

Deep Learning Toolbox MLP

Hi Shathesh, The predict function will return the scores corresponding to each class for a particular test image. So, the high...

Deep Learning Toolbox MLP

Hi Shathesh, The predict function will return the scores corresponding to each class for a particular test image. So, the high...

2 months ago | 0

Answered

How do I compare two images and find the similarity percentage?

Hi Parth, For finding structural similarity index between two images you can use ssim function. If there is translation and ro...

How do I compare two images and find the similarity percentage?

Hi Parth, For finding structural similarity index between two images you can use ssim function. If there is translation and ro...

2 months ago | 0

| accepted

Answered

Activations differ with increased number of input.

Hi, I tried to reproduce the same with Example mentioned here which uses Alexnet and MerchData. The percentage error calculate...

Activations differ with increased number of input.

Hi, I tried to reproduce the same with Example mentioned here which uses Alexnet and MerchData. The percentage error calculate...

2 months ago | 0

Answered

Optimizing percentage split of CNN training/test data

Hi Holly, Since the percentagechange is accurately defined in the code for Bayesian optimization I don’t see any issue there. ...

Optimizing percentage split of CNN training/test data

Hi Holly, Since the percentagechange is accurately defined in the code for Bayesian optimization I don’t see any issue there. ...

2 months ago | 0

Answered

why is my final validation accuracy much lower than the validation accuracy during training?

Hi, This can happen due to presence of batchNormalizationlayer in the Layer graph. Since in batch normalization layers the mea...

why is my final validation accuracy much lower than the validation accuracy during training?

Hi, This can happen due to presence of batchNormalizationlayer in the Layer graph. Since in batch normalization layers the mea...

2 months ago | 0

Answered

Generate factorized transfer function using expression

Hi, In zpk function you can substitute the zeros, poles and gain value and it will give the desired expression. You may find b...

Generate factorized transfer function using expression

Hi, In zpk function you can substitute the zeros, poles and gain value and it will give the desired expression. You may find b...

2 months ago | 0

Answered

I want to find cross correlation of two different sequence without using inbuilt xcorr function. It has to be less time consuming than xcorr.

Hi, xcorr has been written very efficiently to have maximum performance in terms of time taken. If you want to look out for an...

I want to find cross correlation of two different sequence without using inbuilt xcorr function. It has to be less time consuming than xcorr.

Hi, xcorr has been written very efficiently to have maximum performance in terms of time taken. If you want to look out for an...

2 months ago | 0

| accepted

Answered

Merging 10 tif files into one in order to get spectral signatures

Hi Melisa, You can read the TIFF files one by one and assign them to a matrix in the 3rd dimension. Since you want to merge th...

Merging 10 tif files into one in order to get spectral signatures

Hi Melisa, You can read the TIFF files one by one and assign them to a matrix in the 3rd dimension. Since you want to merge th...

2 months ago | 0

Answered

how calculate cross correlation without use corr

Hi, As KSSV mentioned, Cross-correlation is one of the submissions on File Exchange which doesn’t uses xcorr for calculating c...

how calculate cross correlation without use corr

Hi, As KSSV mentioned, Cross-correlation is one of the submissions on File Exchange which doesn’t uses xcorr for calculating c...

2 months ago | 0

Answered

Deep Learning LSTM sequenceInputLayer - Data normalization on Test Data?

Hi Barry, The normalization is applied on every batch of the data that passes through any particular data input layer whether ...

Deep Learning LSTM sequenceInputLayer - Data normalization on Test Data?

Hi Barry, The normalization is applied on every batch of the data that passes through any particular data input layer whether ...

2 months ago | 1

| accepted

Answered

Adaboost Learning Rate in Matlab Documentation

Hi, The LearnRate option in AdaBoostM1 tells about the learning rate of shrinkage which is essentially the shrink in contribut...

Adaboost Learning Rate in Matlab Documentation

Hi, The LearnRate option in AdaBoostM1 tells about the learning rate of shrinkage which is essentially the shrink in contribut...

2 months ago | 0

| accepted