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

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...

23 days 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...

23 days 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...

27 days 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. ...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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 ...

1 month 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...

1 month ago | 0

| accepted

Answered

Conversion from HSV to RGB

Hi, Since the V channel is changed for original image with a gaussian mask the output has been changed. This is because while ...

Conversion from HSV to RGB

Hi, Since the V channel is changed for original image with a gaussian mask the output has been changed. This is because while ...

2 months ago | 0

| accepted

Answered

Theta computed from Gradient Descent in Linear Regression with one model produces NaN

Hi, From the gradientDescent function mentioned in the comments I can see that theta is starting from zero column vector. So, ...

Theta computed from Gradient Descent in Linear Regression with one model produces NaN

Hi, From the gradientDescent function mentioned in the comments I can see that theta is starting from zero column vector. So, ...

2 months ago | 0

Answered

Persistent error messages upon opening new MATLAB R2020a download

Hi kellie, The above issue of unrecognized function or variable "settings" can happen if the MATLAB unables to find ‘settings....

Persistent error messages upon opening new MATLAB R2020a download

Hi kellie, The above issue of unrecognized function or variable "settings" can happen if the MATLAB unables to find ‘settings....

2 months ago | 0

| accepted

Answered

How to interpolate 3-D data from a .mat file?

Hi, From the question I understand you have the V data that is stored in the struct file as this is a 3D Image so only values ...

How to interpolate 3-D data from a .mat file?

Hi, From the question I understand you have the V data that is stored in the struct file as this is a 3D Image so only values ...

2 months ago | 0

Answered

How to make input points into a double array?

Hi David, The inShape works only for numeric data type double-precision and I guess the cell_detected_all is not present in do...

How to make input points into a double array?

Hi David, The inShape works only for numeric data type double-precision and I guess the cell_detected_all is not present in do...

2 months ago | 1

| accepted

Answered

Trouble importing file of image to run through function, then combining/exporting as a file

Hi Ashley, I assume by combining you means saving the images with distinct name into the same folder or different folder. You ...

Trouble importing file of image to run through function, then combining/exporting as a file

Hi Ashley, I assume by combining you means saving the images with distinct name into the same folder or different folder. You ...

2 months ago | 0

Answered

Solving a convolution equation problem

Hi Jamal, You can use conv and deconv for solving this equation. You will be getting N length vector only as an output. Below ...

Solving a convolution equation problem

Hi Jamal, You can use conv and deconv for solving this equation. You will be getting N length vector only as an output. Below ...

2 months ago | 0

| accepted

Answered

can I see testing accuracy and loss graph in Neural network, like training graph?

Hi Krishna, I assume by graph of the testing accuracy and loss; you mean epoch wise plot of the parameters for testing data. I...

can I see testing accuracy and loss graph in Neural network, like training graph?

Hi Krishna, I assume by graph of the testing accuracy and loss; you mean epoch wise plot of the parameters for testing data. I...

2 months ago | 0

| accepted

Answered

How to interact with a video live

Hi, The video file if read through MATLAB will be a figure only. You can track the real time location by setting up the timer ...

How to interact with a video live

Hi, The video file if read through MATLAB will be a figure only. You can track the real time location by setting up the timer ...

2 months ago | 0

| accepted

Answered

How to build Time delay Neural network using deep learning layers?

Hi Abdelwahab, You can find lstmLayer useful for implementing above but need to figure out the proper formulation of problem s...

How to build Time delay Neural network using deep learning layers?

Hi Abdelwahab, You can find lstmLayer useful for implementing above but need to figure out the proper formulation of problem s...

2 months ago | 0

Answered

Grab tempretures higher than 299

Hi, For going values greater than 299K you can change the text according to the range in regexp. For example if you want to co...

Grab tempretures higher than 299

Hi, For going values greater than 299K you can change the text according to the range in regexp. For example if you want to co...

2 months ago | 0

| accepted

Answered

Rotate a vector so that it coincides with a line or a axis, and find the angle required.

Hi Tingwei, I assume the vector you want to rotate has two set of coordinates i.e. start point and end point taken as (x1,y1) ...

Rotate a vector so that it coincides with a line or a axis, and find the angle required.

Hi Tingwei, I assume the vector you want to rotate has two set of coordinates i.e. start point and end point taken as (x1,y1) ...

2 months ago | 0

Answered

How to display previous or next frame in a video file in App Designer GUI?

Hi Zachary, While looking into the R2020a documentation of read I don’t see anywhere it is mentioned that this function will b...

How to display previous or next frame in a video file in App Designer GUI?

Hi Zachary, While looking into the R2020a documentation of read I don’t see anywhere it is mentioned that this function will b...

2 months ago | 0

Answered

Generating Frequency domain with FFT function of accelerometer data

Hi, In the line freX_1 = freX_2(1:N/2+1); freX_2 is built to have 200 elements but when you are calculating freX_1, the in...

Generating Frequency domain with FFT function of accelerometer data

Hi, In the line freX_1 = freX_2(1:N/2+1); freX_2 is built to have 200 elements but when you are calculating freX_1, the in...

2 months ago | 0

| accepted

Answered

How to implement H infinity controller in simulink domain?

Hi, You can implement the H-infinity controller using hinfsyn. For more information you may also refer to the documentation of...

How to implement H infinity controller in simulink domain?

Hi, You can implement the H-infinity controller using hinfsyn. For more information you may also refer to the documentation of...

2 months ago | 0

| accepted

Answered

Have equation, need to loop through all data and variables.

Hi, As John mentioned in the comments you can use element wise multiplication for above equation format. The data structure in...

Have equation, need to loop through all data and variables.

Hi, As John mentioned in the comments you can use element wise multiplication for above equation format. The data structure in...

2 months ago | 0

Answered

How to integrate a surf plot

Hi, From the question I think this example clearly explain the steps of doing surface integral. You need to define the ranges ...

How to integrate a surf plot

Hi, From the question I think this example clearly explain the steps of doing surface integral. You need to define the ranges ...

2 months ago | 0

Answered

Load timeseries from Python into Simulink

Hi, The timeseries by default, will create the time indexes in order of 1 seconds. You can mention the time values in a vector...

Load timeseries from Python into Simulink

Hi, The timeseries by default, will create the time indexes in order of 1 seconds. You can mention the time values in a vector...

2 months ago | 0

| accepted

Answered

Code not running and showing busy

Hi Rajdeep, From the code I see you are using first for loop inside the main for loop for updating the value of E. And the whi...

Code not running and showing busy

Hi Rajdeep, From the code I see you are using first for loop inside the main for loop for updating the value of E. And the whi...

2 months ago | 0

| accepted