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

Does imtranslate do subpixel shifts ?

Here a few pointers which may be able to help you: For every pixel position in the output, the algorithm tries to find the corr...

Does imtranslate do subpixel shifts ?

Here a few pointers which may be able to help you: For every pixel position in the output, the algorithm tries to find the corr...

1 year ago | 0

Answered

For loop for system of equations

The methodology outlined in the image attached may not be the most suitable one for this case. The recommended way to solve the ...

For loop for system of equations

The methodology outlined in the image attached may not be the most suitable one for this case. The recommended way to solve the ...

1 year ago | 0

Answered

How to find a particular state space form using Matlab?

Please refer to the following documentation link on “tf2ss” function which accepts a transfer function and returns the equivalen...

How to find a particular state space form using Matlab?

Please refer to the following documentation link on “tf2ss” function which accepts a transfer function and returns the equivalen...

1 year ago | 0

| accepted

Answered

solving definite integrals exponential

I am assuming that you want to know the reason behind the solution being an analytic expression instead of a numeric answer. Acc...

solving definite integrals exponential

I am assuming that you want to know the reason behind the solution being an analytic expression instead of a numeric answer. Acc...

1 year ago | 0

| accepted

Answered

help with defining neural networks

This error message may be due to the presence of a comment inside the “decodingLayers_2” array. This may interfere with the line...

help with defining neural networks

This error message may be due to the presence of a comment inside the “decodingLayers_2” array. This may interfere with the line...

1 year ago | 0

| accepted

Answered

ODE45: IF/loop function

It is my understanding that the differential equation is a function of “u(1)” and “u(2)”. So it is safe to assume that “u(1)” an...

ODE45: IF/loop function

It is my understanding that the differential equation is a function of “u(1)” and “u(2)”. So it is safe to assume that “u(1)” an...

1 year ago | 0

| accepted

Answered

N Channel MOSFET gating signal

This problem may be due to the restrictions imposed on the signal types which can be given as input to the n-channel MOSFET bloc...

N Channel MOSFET gating signal

This problem may be due to the restrictions imposed on the signal types which can be given as input to the n-channel MOSFET bloc...

1 year ago | 0

Answered

plot the raw data and model on the same plot

The following code may be of help in displaying the raw data and model on the same plot. clear; close all; t = [10 12 20 25 4...

plot the raw data and model on the same plot

The following code may be of help in displaying the raw data and model on the same plot. clear; close all; t = [10 12 20 25 4...

1 year ago | 0

Answered

interpolation in a vector

I am assuming here that you want to replace the sample corresponding to t=9 using linear interpolation. The following line of co...

interpolation in a vector

I am assuming here that you want to replace the sample corresponding to t=9 using linear interpolation. The following line of co...

1 year ago | 0

| accepted

Answered

L2 Regularization Hyperparameter in trainingOptions

The most common values of the regularization parameter are often on a logarithmic scale between 0 and 0.1, such as 0.1, 0.001, 0...

L2 Regularization Hyperparameter in trainingOptions

The most common values of the regularization parameter are often on a logarithmic scale between 0 and 0.1, such as 0.1, 0.001, 0...

1 year ago | 0

| accepted

Answered

I have a matrix that is 17x6 and for one task i need to find • The location with the highest average ice thickness • The maximum overall ice thickness measurement with the associated location and day

I am assuming here that the rows of the “Ice” matrix correspond to the “Days” and the columns correspond to the “LocationID” . Y...

I have a matrix that is 17x6 and for one task i need to find • The location with the highest average ice thickness • The maximum overall ice thickness measurement with the associated location and day

I am assuming here that the rows of the “Ice” matrix correspond to the “Days” and the columns correspond to the “LocationID” . Y...

1 year ago | 0

Answered

Subs Command & Conversion into Matlab Function (multivariable)

Here are a few pointers which may be able to help you: As explained by Mr. Walter Roberson above, you need to pass an input arg...

Subs Command & Conversion into Matlab Function (multivariable)

Here are a few pointers which may be able to help you: As explained by Mr. Walter Roberson above, you need to pass an input arg...

1 year ago | 0

Answered

Storing decomposition object for future use

This is a limitation on the decomposition object. Please refer to the following link which addresses a similar issue and offers ...

Storing decomposition object for future use

This is a limitation on the decomposition object. Please refer to the following link which addresses a similar issue and offers ...

1 year ago | 0

Answered

Stoichiometric coefficient using matrix

Since the system of linear equations given above is of the form “Ax = 0”, the solution is given by the basis vectors of the null...

Stoichiometric coefficient using matrix

Since the system of linear equations given above is of the form “Ax = 0”, the solution is given by the basis vectors of the null...

1 year ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 0