I am Application Support Engineer at Mathworks.

Disclaimer: Any articles /ideas/opinions here are my own and no way reflect that of Mathworks

Answered

Symbolic environment and loops

Hi Bruno Souza It is my understanding that you want to use loop variable j to create different symbolic variable names. Follow...

Symbolic environment and loops

Hi Bruno Souza It is my understanding that you want to use loop variable j to create different symbolic variable names. Follow...

4 hours ago | 0

Answered

impulse response of a LTI system in Matlab

Hi You can use "conv" to find convolution.

impulse response of a LTI system in Matlab

Hi You can use "conv" to find convolution.

1 day ago | 0

| accepted

Answered

Setting Matrix Values based on 'symsum' formula

Hi Michael Jacobson You cannot use symbolic variable as index to a matrix. However the following code snippet can help to get s...

Setting Matrix Values based on 'symsum' formula

Hi Michael Jacobson You cannot use symbolic variable as index to a matrix. However the following code snippet can help to get s...

1 day ago | 0

Answered

Extract time-amplitude signals to a matrix from a png

Hi It is my understanding that you want to get the x and y coordinates of few points from image. Read the image using imread...

Extract time-amplitude signals to a matrix from a png

Hi It is my understanding that you want to get the x and y coordinates of few points from image. Read the image using imread...

3 days ago | 0

| accepted

Answered

How to extract envelope from a sine wave signal?

Hi You can use the function "envelope" to serve the purpose. You may find the doumentation Envelope Extraction useful.

How to extract envelope from a sine wave signal?

Hi You can use the function "envelope" to serve the purpose. You may find the doumentation Envelope Extraction useful.

15 days ago | 0

Answered

Plotting Magnitude and phase of two discreate signals

Hi Chyavan Phadke You may refer to this link to blogs by Steve for understanding DFT and DTFT. You can calculate DTFT use "fft...

Plotting Magnitude and phase of two discreate signals

Hi Chyavan Phadke You may refer to this link to blogs by Steve for understanding DFT and DTFT. You can calculate DTFT use "fft...

16 days ago | 0

| accepted

Answered

How to use matlab Kfold or custom cvpartition so data isn't shuffled randomly?

Hi Maxwell Barton K-fold validation without random shuffling of data is not supported by Matlab This requirement has been bro...

How to use matlab Kfold or custom cvpartition so data isn't shuffled randomly?

Hi Maxwell Barton K-fold validation without random shuffling of data is not supported by Matlab This requirement has been bro...

16 days ago | 0

| accepted

Answered

Time series cross-validation for lasso

Hi Nikolaos Vasilas K-fold validation without random shuffling of data/ time series cross-validation is not supported by Matla...

Time series cross-validation for lasso

Hi Nikolaos Vasilas K-fold validation without random shuffling of data/ time series cross-validation is not supported by Matla...

16 days ago | 0

Answered

How to save the criterion at which neural net training was finished?

Hi With trainbr, training occurs according to trainbr training parameters. You might find the following documentation useful. ...

How to save the criterion at which neural net training was finished?

Hi With trainbr, training occurs according to trainbr training parameters. You might find the following documentation useful. ...

17 days ago | 0

Answered

How can I examine the Runtime of a preallocated loop vs non preallocated?

Hi It is my understanding that you want to calculate mean of a matrix without using inbuilt function. m=10; n=10; x=randn(m,...

How can I examine the Runtime of a preallocated loop vs non preallocated?

Hi It is my understanding that you want to calculate mean of a matrix without using inbuilt function. m=10; n=10; x=randn(m,...

17 days ago | 0

Answered

Finding average of matrix elements within a specified window

Hi You might find this file exchange, Moving Average Filter (2D) useful.

Finding average of matrix elements within a specified window

Hi You might find this file exchange, Moving Average Filter (2D) useful.

18 days ago | 0

Answered

Detecting and Calculating the droplet diameter in an image with Low contrast

Hi It is my ynderstanding that you want to find the diameter of the circles/droplets in the image. You can do it using regionp...

Detecting and Calculating the droplet diameter in an image with Low contrast

Hi It is my ynderstanding that you want to find the diameter of the circles/droplets in the image. You can do it using regionp...

18 days ago | 0

Answered

How to format the inputs and targets for a feedforward neural network?

Hi It is my understanding that you are doing classification. As it is clearly mentioned in the code x_train and y_tran are for ...

How to format the inputs and targets for a feedforward neural network?

Hi It is my understanding that you are doing classification. As it is clearly mentioned in the code x_train and y_tran are for ...

18 days ago | 0

Answered

How to customize a colour map so that all values of 0 are equal to gray

Hi It is my understanding that you want to customize the colormap. You may find the following documentation helpful. https://...

How to customize a colour map so that all values of 0 are equal to gray

Hi It is my understanding that you want to customize the colormap. You may find the following documentation helpful. https://...

18 days ago | 0

Answered

How to tell how smooth a signal oscillates?

Hi Maximilian Valentin Schraysshuen You may find the following approach useful. Calculate the mean of the signal using "mea...

How to tell how smooth a signal oscillates?

Hi Maximilian Valentin Schraysshuen You may find the following approach useful. Calculate the mean of the signal using "mea...

23 days ago | 0

| accepted

Answered

Please, could someone assist me with code for wavelet analysis?

Hi Kwaku Owusu, It is my understanding that you want to use wavelet transform. You might find this documentation "Wavelet Trans...

Please, could someone assist me with code for wavelet analysis?

Hi Kwaku Owusu, It is my understanding that you want to use wavelet transform. You might find this documentation "Wavelet Trans...

23 days ago | 0

| accepted

Answered

Perform elementwise substitution of vector of scalars into vector of equations.

Hi It is my understanding that you want substitute every value of t in each equation d. d = t^2/2 t^2 (3*t^...

Perform elementwise substitution of vector of scalars into vector of equations.

Hi It is my understanding that you want substitute every value of t in each equation d. d = t^2/2 t^2 (3*t^...

1 month ago | 0

Answered

how to create a loop of subfolders

Hi, It is my understanding that you want to create subfloders in loop. You may find this answer helpful.

how to create a loop of subfolders

Hi, It is my understanding that you want to create subfloders in loop. You may find this answer helpful.

1 month ago | 0

Answered

How can I solve a sum of two variables function?

Hi Enzo, It is my understanding that you want to find intergation of series sum. You may these answers helpful Integration of ...

How can I solve a sum of two variables function?

Hi Enzo, It is my understanding that you want to find intergation of series sum. You may these answers helpful Integration of ...

2 months ago | 1

Answered

Creating output for quadradic roots that displays i if imaginary

Hi You may find Matlab "roots" useful to find roots of quadratic equation.

Creating output for quadradic roots that displays i if imaginary

Hi You may find Matlab "roots" useful to find roots of quadratic equation.

2 months ago | 0

Answered

Arduino to Matlab Code

Hi Arduino code cannot be directly converted to matlab code. However you can use the following documentation "Getting Started ...

Arduino to Matlab Code

Hi Arduino code cannot be directly converted to matlab code. However you can use the following documentation "Getting Started ...

2 months ago | 0

Answered

Defined domain integral(convoulution) in simulink

Hi It is my understanding that you want to do convolution of two matrices. You may find this documentation "2-D Convolution" ...

Defined domain integral(convoulution) in simulink

Hi It is my understanding that you want to do convolution of two matrices. You may find this documentation "2-D Convolution" ...

2 months ago | 0

Answered

How to solve this error? Error:"Nonlinear iteration is not converging with step size reduced to hmin (9.59393e-15) at time 2.70045. Try reducing the minimum step size and/or relax the relative error tolerance."

Hi, This may occur when one of your signals is either diverging to +infinity or -infinity or changing too rapidly based on solv...

How to solve this error? Error:"Nonlinear iteration is not converging with step size reduced to hmin (9.59393e-15) at time 2.70045. Try reducing the minimum step size and/or relax the relative error tolerance."

Hi, This may occur when one of your signals is either diverging to +infinity or -infinity or changing too rapidly based on solv...

2 months ago | 0

Answered

How to chamg a path

Hi Hazhan Majeed Here path means the location where your dataset has been saved. You can load your data by following line of c...

How to chamg a path

Hi Hazhan Majeed Here path means the location where your dataset has been saved. You can load your data by following line of c...

2 months ago | 0

Answered

'Too many input arguments.' error (arima command)

Hi Seraphic, Can you share the details of Matlab version you are using?

'Too many input arguments.' error (arima command)

Hi Seraphic, Can you share the details of Matlab version you are using?

2 months ago | 0

Answered

Can I call my .m file code which is in regard with Deep Learning and applying LSTM?

Hi You may find this answer helpful.

Can I call my .m file code which is in regard with Deep Learning and applying LSTM?

Hi You may find this answer helpful.

2 months ago | 0

Answered

Calculate frequency and rate of change of frequency

Hi To find the frequency components present in a signal, the signal can be transformed into frequency domain and frequencies ca...

Calculate frequency and rate of change of frequency

Hi To find the frequency components present in a signal, the signal can be transformed into frequency domain and frequencies ca...

4 months ago | 0

Answered

Convolve vector with audio file

Hi Matthew Strunks It is my understanding that you want to convolve your audio signal and FIR filter. Since convolution in tim...

Convolve vector with audio file

Hi Matthew Strunks It is my understanding that you want to convolve your audio signal and FIR filter. Since convolution in tim...

4 months ago | 0

Answered

How do i reduce running time in this code

Hi Tzach Berlinsky, In the code you have provided using nested loops is not necessary. Since the body of loops is executed only...

How do i reduce running time in this code

Hi Tzach Berlinsky, In the code you have provided using nested loops is not necessary. Since the body of loops is executed only...

4 months ago | 0

Answered

The Value of ValidaitonData is invalid

Hi, You may find this answer helpful.

The Value of ValidaitonData is invalid

Hi, You may find this answer helpful.

4 months ago | 0