I am an Application Support 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

how can I calculate the number of cristalysing cycles in MATLAB?

Hi Hamed, To count the number of times RH>75.3%, first you store your dataset in a variable and take a counter (initialize to ...

how can I calculate the number of cristalysing cycles in MATLAB?

Hi Hamed, To count the number of times RH>75.3%, first you store your dataset in a variable and take a counter (initialize to ...

17 days ago | 0

Answered

switched system with time delay

Hi Amani, There are some bugs in your code which needs to be fixed in order to run the script. Variable history should be 1X...

switched system with time delay

Hi Amani, There are some bugs in your code which needs to be fixed in order to run the script. Variable history should be 1X...

17 days ago | 0

Answered

Frequency response of digital filter

Hi Joshua In your code, you are using same transfer function for ‘s’ and ‘z’ domain. You specified Y(s)/X(s) which you did not...

Frequency response of digital filter

Hi Joshua In your code, you are using same transfer function for ‘s’ and ‘z’ domain. You specified Y(s)/X(s) which you did not...

17 days ago | 0

Answered

I have data that is 3x200 I need a xbar and r chart with control limits.

Hi Brady You are getting an error of some size mismatch of your input data. The variable ‘x’ is having a size of 3X200. The er...

I have data that is 3x200 I need a xbar and r chart with control limits.

Hi Brady You are getting an error of some size mismatch of your input data. The variable ‘x’ is having a size of 3X200. The er...

17 days ago | 0

Answered

코드 확인하고 행렬 관계

Hi Joonyoung As per your code, you are ploting T(t) with x=0.01. You are correct if you want to plot at constant value of x wh...

코드 확인하고 행렬 관계

Hi Joonyoung As per your code, you are ploting T(t) with x=0.01. You are correct if you want to plot at constant value of x wh...

19 days ago | 1

| accepted

Answered

How to find guassian distribution

Hi Shilpa, It seems either you want to generate the histogram of an image or you want to generate a matrix which follows guass...

How to find guassian distribution

Hi Shilpa, It seems either you want to generate the histogram of an image or you want to generate a matrix which follows guass...

19 days ago | 0

Answered

How can I make a Loop (!) over the image using a 5×5 pixel window

Hi Nadeen, It seems you want to do average filtering of an image with the kernal size of 5x5. It can be done using imfilter co...

How can I make a Loop (!) over the image using a 5×5 pixel window

Hi Nadeen, It seems you want to do average filtering of an image with the kernal size of 5x5. It can be done using imfilter co...

19 days ago | 0

| accepted

Answered

행렬 선언에 대해 (미지수 포함)

Hi Hyo The unknown variables can be declared using syms function. For your case, consider the below code: syms V syms w A...

행렬 선언에 대해 (미지수 포함)

Hi Hyo The unknown variables can be declared using syms function. For your case, consider the below code: syms V syms w A...

20 days ago | 0

Answered

I have to sum the mat2d_SRIz matrices that are renewed at each for cycle. I have to make the accumulation of these matrices. If I write: Matrix_sum = matrix_sum + mat2d_SRIz I can't do it. Any solution?

Hi Mario, As per your code, you have initialized the matrice_somma variable inside the for loop, which is every time assigned ...

I have to sum the mat2d_SRIz matrices that are renewed at each for cycle. I have to make the accumulation of these matrices. If I write: Matrix_sum = matrix_sum + mat2d_SRIz I can't do it. Any solution?

Hi Mario, As per your code, you have initialized the matrice_somma variable inside the for loop, which is every time assigned ...

20 days ago | 0

Answered

Plot the timestamp versus data from excel file

Hi Suresh, It looks like datetick function does not have a precision of millisecond while converting datenum object back to da...

Plot the timestamp versus data from excel file

Hi Suresh, It looks like datetick function does not have a precision of millisecond while converting datenum object back to da...

2 months ago | 0

Answered

How to do a 3D plot of this loop. I have tried the following.

Hi, As per your code, in the last line you are using surf command with (x,y) arguments. The variables x and y are taking the ...

How to do a 3D plot of this loop. I have tried the following.

Hi, As per your code, in the last line you are using surf command with (x,y) arguments. The variables x and y are taking the ...

2 months ago | 0

Answered

Need to find dominant frequencies, as well as peaks corresponding to noise and amplitude

Hi, The prominent frequency and amplitude can be estimated by plotting the power spectral density of the required signal. Sinc...

Need to find dominant frequencies, as well as peaks corresponding to noise and amplitude

Hi, The prominent frequency and amplitude can be estimated by plotting the power spectral density of the required signal. Sinc...

2 months ago | 0

| accepted

Answered

repeated roots in residue fn, how to read/ display??

Hi, It is possible to know if the fraction contains multiple roots. As per your given code, ‘r’ contains the residue, ‘p’ cont...

repeated roots in residue fn, how to read/ display??

Hi, It is possible to know if the fraction contains multiple roots. As per your given code, ‘r’ contains the residue, ‘p’ cont...

2 months ago | 0

Answered

Representing 2 planes using matrices to perform FEA

Hi, First, you can try finding the equation of plane. According to your question, equation of 1st plane is y=0. Second plane i...

Representing 2 planes using matrices to perform FEA

Hi, First, you can try finding the equation of plane. According to your question, equation of 1st plane is y=0. Second plane i...

2 months ago | 0

Answered

hdrwrite with grayscale HDR image

Hi, You can save storage space by storing the zeros in the other two dimensions in order to save memory. As per your code, you...

hdrwrite with grayscale HDR image

Hi, You can save storage space by storing the zeros in the other two dimensions in order to save memory. As per your code, you...

2 months ago | 0

Answered

Contents in a Vector

Hi You can run the following command to access and display the array elements which you have asked. The solution is as per you...

Contents in a Vector

Hi You can run the following command to access and display the array elements which you have asked. The solution is as per you...

2 months ago | 0

Answered

How can I make the Background of an image invisible? (R2018b)

Hi, As per your image, it will be a two-class classification problem in an image. Since the image is a black and white and you...

How can I make the Background of an image invisible? (R2018b)

Hi, As per your image, it will be a two-class classification problem in an image. Since the image is a black and white and you...

2 months ago | 0

Answered

About Augment Images for Training

Hi, You can try with all possible data augmentation techniques like flip, rotation, cropping, scaling, adding noise, translati...

About Augment Images for Training

Hi, You can try with all possible data augmentation techniques like flip, rotation, cropping, scaling, adding noise, translati...

3 months ago | 0

Answered

Empty sym: 0-by-1

Hi, As per your code, R1 consists of 3 equations with two unknowns. Also, there is no need of R2 as it will always give the va...

Empty sym: 0-by-1

Hi, As per your code, R1 consists of 3 equations with two unknowns. Also, there is no need of R2 as it will always give the va...

3 months ago | 0

Answered

Get the spatial coordinates for the outer boundary from pixels

Hi Muhammad, As per your question, I understand that you want to make a black boundary at some spatial coordinates. Since you ...

Get the spatial coordinates for the outer boundary from pixels

Hi Muhammad, As per your question, I understand that you want to make a black boundary at some spatial coordinates. Since you ...

3 months ago | 0

Answered

Cluster of precipitation time series

Hi CJ, Since you want to cluster the precipitation data into 4 seasons in year wise format, you should take year wise data and...

Cluster of precipitation time series

Hi CJ, Since you want to cluster the precipitation data into 4 seasons in year wise format, you should take year wise data and...

3 months ago | 0

Answered

Does matlab support fullscreen?

Hi Pankaj, You cannot use F11 in MATLAB to make it full screen. To use MATLAB editor in full screen, right click on the fil...

Does matlab support fullscreen?

Hi Pankaj, You cannot use F11 in MATLAB to make it full screen. To use MATLAB editor in full screen, right click on the fil...

3 months ago | 0

Answered

Difference in C function argument generated from MATLAB Simulink 2010b compared to MATLAB Simulink 2018b

Hi Asang, Prior to R2010b version of MATLAB there were 5 different coder products viz. Real-time Workshop, Stateflow Coder, Re...

Difference in C function argument generated from MATLAB Simulink 2010b compared to MATLAB Simulink 2018b

Hi Asang, Prior to R2010b version of MATLAB there were 5 different coder products viz. Real-time Workshop, Stateflow Coder, Re...

3 months ago | 0

| accepted

Answered

Error: The expression to the left of the equals sign is not a valid target for an assignment.

Hi, You can use the below command: Ycomfort=str2func('@(x,T_set_r,T_room_m,T_room_mm,DT_m,DT_L,DT_U,T_room,Gt,dc,Q_HVAC,N_sl...

Error: The expression to the left of the equals sign is not a valid target for an assignment.

Hi, You can use the below command: Ycomfort=str2func('@(x,T_set_r,T_room_m,T_room_mm,DT_m,DT_L,DT_U,T_room,Gt,dc,Q_HVAC,N_sl...

3 months ago | 1

Answered

What is the possible error in the state estimator?

Hi, You have not defined some variables in your code, and some are not properly defined. Do the following update: Value of ‘...

What is the possible error in the state estimator?

Hi, You have not defined some variables in your code, and some are not properly defined. Do the following update: Value of ‘...

3 months ago | 0

Answered

Data organisation for a Time Series Neural Network

Hi, You can train your NARX model with multi-dimensional input data. You can do this task in two ways, first using ‘narxnet’ f...

Data organisation for a Time Series Neural Network

Hi, You can train your NARX model with multi-dimensional input data. You can do this task in two ways, first using ‘narxnet’ f...

3 months ago | 0

| accepted

Answered

Using normpdf with datetime datatype

Hi, It is not possible to use normpdf with the input in datetime format (which is not in scalar format). This command requires...

Using normpdf with datetime datatype

Hi, It is not possible to use normpdf with the input in datetime format (which is not in scalar format). This command requires...

3 months ago | 0

| accepted

Answered

Creating Patches for all images in a directory

Hi, To read the images from a folder, firstly you need to give the path of that folder, then run a loop to read each image, cr...

Creating Patches for all images in a directory

Hi, To read the images from a folder, firstly you need to give the path of that folder, then run a loop to read each image, cr...

3 months ago | 0

Answered

error using vpasolve involving 6 variables

Hi, Suggest you to check symbolic expression xcom, ycom, b and y as it has sin inverse operation which lies between –1 and 1. ...

error using vpasolve involving 6 variables

Hi, Suggest you to check symbolic expression xcom, ycom, b and y as it has sin inverse operation which lies between –1 and 1. ...

4 months ago | 0

Answered

Solving multiple algebraic equation

Hi, Your solution is correct. Use ‘S=vpasolve(eqns,[x y z]) ‘ instead of using ‘solve’ command, to avoid warning. Your so...

Solving multiple algebraic equation

Hi, Your solution is correct. Use ‘S=vpasolve(eqns,[x y z]) ‘ instead of using ‘solve’ command, to avoid warning. Your so...

4 months ago | 0