I am currently working as an Application Support Engineer at MathWorks Hyderabad

My interests include Signal Processing, Computer Vision etc.

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

Answered

geometric linear programming help

From the code provided above, it is my understanding that there is a quadratic constraint involving “x”and “y” in addition to th...

geometric linear programming help

From the code provided above, it is my understanding that there is a quadratic constraint involving “x”and “y” in addition to th...

3 hours ago | 0

Answered

Writing processed image into new image not working as expected

I am assuming here that the matrix “I” is of datatype double and “imshow()” function is used to display the image. Since the exp...

Writing processed image into new image not working as expected

I am assuming here that the matrix “I” is of datatype double and “imshow()” function is used to display the image. Since the exp...

2 days ago | 0

Answered

how to add data into the cells of a cell array?

I am assuming here that you want to create “X1” using the elements of the existing cell array “X”. The following code may be of ...

how to add data into the cells of a cell array?

I am assuming here that you want to create “X1” using the elements of the existing cell array “X”. The following code may be of ...

2 days ago | 0

Answered

transform 5 minutes timeseries to hourly timeseries

I am assuming here that you want to change the time intervals and units of the time series object keeping the data intact. Here...

transform 5 minutes timeseries to hourly timeseries

I am assuming here that you want to change the time intervals and units of the time series object keeping the data intact. Here...

19 days ago | 0

Answered

why when I transfer signal from simulink to matlab via block 'to workspace' , I cant control the sample numbers ?

Here are a few pointers which may be of help to you: In the code given above the second argument of the “sim()” restricts the t...

why when I transfer signal from simulink to matlab via block 'to workspace' , I cant control the sample numbers ?

Here are a few pointers which may be of help to you: In the code given above the second argument of the “sim()” restricts the t...

20 days ago | 0

Answered

I am stuck with this double summation system.

Here are a few pointers which may be of help to you: The first step may be to define “m”, “n”, “x”, “y” and “t” as symbolic va...

I am stuck with this double summation system.

Here are a few pointers which may be of help to you: The first step may be to define “m”, “n”, “x”, “y” and “t” as symbolic va...

20 days ago | 0

Answered

Which licence is suitable for my task?

Contact your sales representative to get detailed understanding about your license terms. If you don't know who your sales repre...

Which licence is suitable for my task?

Contact your sales representative to get detailed understanding about your license terms. If you don't know who your sales repre...

20 days ago | 0

Answered

Fractional order transfer function

A possible workaround to this scenario may to be define the transfer function using symbolic variables. You may use the followin...

Fractional order transfer function

A possible workaround to this scenario may to be define the transfer function using symbolic variables. You may use the followin...

20 days ago | 0

Answered

Error using mupadengine/feval (line 187) Invalid equations.

I am assuming here that you want the solution to be evaluated over the range [0 10]. But according to MATLAB documentation, the ...

Error using mupadengine/feval (line 187) Invalid equations.

I am assuming here that you want the solution to be evaluated over the range [0 10]. But according to MATLAB documentation, the ...

22 days ago | 1

| accepted

Answered

Help with a double series?

As Walter mentioned in the previous comment the double summation may be implemented using a combination of symbolic variables an...

Help with a double series?

As Walter mentioned in the previous comment the double summation may be implemented using a combination of symbolic variables an...

23 days ago | 0

Answered

how to perform 5-fold cross validation for an image dataset?

The following documentation links may be useful to you in performing the cross-validation crossval() - https://www.mathworks....

how to perform 5-fold cross validation for an image dataset?

The following documentation links may be useful to you in performing the cross-validation crossval() - https://www.mathworks....

23 days ago | 0

Answered

Error: Function definition not supported in this context. Create functions in code file.

One method may be to include an input statement using “input()” to accept the value of “prompt”. Another possible workaround is ...

Error: Function definition not supported in this context. Create functions in code file.

One method may be to include an input statement using “input()” to accept the value of “prompt”. Another possible workaround is ...

2 months ago | 0

Answered

Unable to perform assignment because the left and right sides have a different number of elements.

Here are a few pointers which may be of help to you: Here “x” is defined to be a row vector of size 1 x 51. So, the variable “f...

Unable to perform assignment because the left and right sides have a different number of elements.

Here are a few pointers which may be of help to you: Here “x” is defined to be a row vector of size 1 x 51. So, the variable “f...

2 months ago | 0

Answered

User defined with imbedded for loop

Here are some suggestions which may be useful: This error may occur due to the input vector not being given as an input argumen...

User defined with imbedded for loop

Here are some suggestions which may be useful: This error may occur due to the input vector not being given as an input argumen...

2 months ago | 0

Answered

How can I set higher-order to1

There may not be an in-built function to replace all the higher order terms in a polynomial with their corresponding single orde...

How can I set higher-order to1

There may not be an in-built function to replace all the higher order terms in a polynomial with their corresponding single orde...

2 months ago | 0

Answered

Population growth in simulink

Here are a few pointers which may be of help to you: It may not be possible to implement the transfer function as as the numer...

Population growth in simulink

Here are a few pointers which may be of help to you: It may not be possible to implement the transfer function as as the numer...

2 months ago | 0

Answered

Sound File/Split Wave and Analysis

I am assuming that you want to separate the vector “y” into 8 segments with 1560 samples each. This may be directly indexed from...

Sound File/Split Wave and Analysis

I am assuming that you want to separate the vector “y” into 8 segments with 1560 samples each. This may be directly indexed from...

2 months ago | 1

| accepted

Answered

function checkImageAndNetworkChannelSizes

Here are a few pointers which may be of help: The function “ndims()” ignores all the trailing singleton dimensions of the inpu...

function checkImageAndNetworkChannelSizes

Here are a few pointers which may be of help: The function “ndims()” ignores all the trailing singleton dimensions of the inpu...

2 months ago | 0

Answered

data Augmentation for resizing images differently to reduce overfitting

“RandXTranslation” and “RandYTranslation” are name-value pairs used to indicate the horizontal and vertical translations to be a...

data Augmentation for resizing images differently to reduce overfitting

“RandXTranslation” and “RandYTranslation” are name-value pairs used to indicate the horizontal and vertical translations to be a...

2 months ago | 0

Answered

How to generate a heat map using imported data with (x,y, z as color)

You may use the following syntax to create the heat map. h = heatmap(tbl,xvar,yvar,'ColorVariable',cvar) where “tbl” is t...

How to generate a heat map using imported data with (x,y, z as color)

You may use the following syntax to create the heat map. h = heatmap(tbl,xvar,yvar,'ColorVariable',cvar) where “tbl” is t...

2 months ago | 0

Answered

Harmonics of Fourier series

The following code may help you to plot the first, 3rd and fifth harmonics of the signal t = 0:0.1:4*pi; numTerms = 3; ...

Harmonics of Fourier series

The following code may help you to plot the first, 3rd and fifth harmonics of the signal t = 0:0.1:4*pi; numTerms = 3; ...

2 months ago | 0

Answered

For loop only saving my last run

Here are a few pointers which may help with your situation: As per the code given above each iteration of the for loop causes ...

For loop only saving my last run

Here are a few pointers which may help with your situation: As per the code given above each iteration of the for loop causes ...

2 months ago | 0

Answered

how do you take the mean across columns but for singular row in a 960x31 array

The following documentation link may help you to get a better understanding about how to perform averaging operation in MATLAB ...

how do you take the mean across columns but for singular row in a 960x31 array

The following documentation link may help you to get a better understanding about how to perform averaging operation in MATLAB ...

2 months ago | 0

Answered

Data Augmentation not working

As per the MATLAB documentation for “imageDataAugmenter”, the augmented images are not saved to memory. So, the size of “augimds...

Data Augmentation not working

As per the MATLAB documentation for “imageDataAugmenter”, the augmented images are not saved to memory. So, the size of “augimds...

2 months ago | 1

| accepted

Answered

Transfer function MIMO in simulink

Here are a few pointers which may be of help to you in implementing the transfer function in Simulink The following code may be...

Transfer function MIMO in simulink

Here are a few pointers which may be of help to you in implementing the transfer function in Simulink The following code may be...

2 months ago | 0

Answered

How to substitute symbolic Jacobian of a multivariate function, D(f)(x)?

Please go through the following MATLAB Answer which addresses a similar issue https://www.mathworks.com/matlabcentral/answers/...

How to substitute symbolic Jacobian of a multivariate function, D(f)(x)?

Please go through the following MATLAB Answer which addresses a similar issue https://www.mathworks.com/matlabcentral/answers/...

3 months ago | 0

Answered

Symbolic array summation in MATLAB

Each iteration of the for loop in the above code creates a new symbolic function "ss" which creates three different expressions....

Symbolic array summation in MATLAB

Each iteration of the for loop in the above code creates a new symbolic function "ss" which creates three different expressions....

3 months ago | 0

| accepted

Answered

Need to plot 10 db return loss fractional bandwidth of a dipole antenna

I am assuming that the value of resonant frequency is 72 MHz instead of 72 Hz since the range of frequencies specified is from 2...

Need to plot 10 db return loss fractional bandwidth of a dipole antenna

I am assuming that the value of resonant frequency is 72 MHz instead of 72 Hz since the range of frequencies specified is from 2...

3 months ago | 0

| accepted

Answered

classification using decision tree

I am assuming that there may be some problem with the file names as the file ‘ECGFiveDays_TRAIN.xlsx’ contains only 23 records a...

classification using decision tree

I am assuming that there may be some problem with the file names as the file ‘ECGFiveDays_TRAIN.xlsx’ contains only 23 records a...

4 months ago | 0

| accepted

Answered

Gabor filter for array

I am assuming that you are trying to give vectors as inputs to the “imgaborfilt()” function. This may not be possible as the fun...

Gabor filter for array

I am assuming that you are trying to give vectors as inputs to the “imgaborfilt()” function. This may not be possible as the fun...

4 months ago | 0