I am Application Support Engineer at Mathworks. My responsibility is to provide the best support for an application like ML,ADT,Image Processing and Deep Learning.

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

Answered

plotting Y1(2t) to get the correct figure instead of Y1(t)

The code works fine and there is no problem in it. One possible reason for this could be that these equations or functions are b...

plotting Y1(2t) to get the correct figure instead of Y1(t)

The code works fine and there is no problem in it. One possible reason for this could be that these equations or functions are b...

5 mois ago | 0

Answered

MATLAB Syntex Problem for optimization

The MATLAB’s optimization toolbox can be used to solve this problem. We can define a problem using optimproblem function in MAT...

MATLAB Syntex Problem for optimization

The MATLAB’s optimization toolbox can be used to solve this problem. We can define a problem using optimproblem function in MAT...

5 mois ago | 0

Answered

How do I open an m-file 1 from another m-file 2 and write a multi-line on m-file 1 at a specific position from m-file 2?

It is possible to edit a m file with the help of another. If we know to edit a single m file, then we can iterate over all such ...

How do I open an m-file 1 from another m-file 2 and write a multi-line on m-file 1 at a specific position from m-file 2?

It is possible to edit a m file with the help of another. If we know to edit a single m file, then we can iterate over all such ...

5 mois ago | 0

Answered

why Matlab show me INI_PHASE must be a real scalar?

The current documentation for qamdemod function doesn’t use INI_PHASE and since you are using a previous version, you should be ...

why Matlab show me INI_PHASE must be a real scalar?

The current documentation for qamdemod function doesn’t use INI_PHASE and since you are using a previous version, you should be ...

5 mois ago | 0

Answered

About Table Comparing in matlab code

The data in excel file can be read using the readmatrix function in MATLAB. The Test_data in the second sheet can be given value...

About Table Comparing in matlab code

The data in excel file can be read using the readmatrix function in MATLAB. The Test_data in the second sheet can be given value...

5 mois ago | 1

Answered

How to import data and remove headers

The data from the text file can be imported using importdata function in MATLAB. To ignore the header of the file we can use the...

How to import data and remove headers

The data from the text file can be imported using importdata function in MATLAB. To ignore the header of the file we can use the...

5 mois ago | 0

Answered

How to simplify non-linear equations for lsqnonlin

To simplify equations in MATLAB, simplify function can be used for it. To read about it and have some examples to check how it w...

How to simplify non-linear equations for lsqnonlin

To simplify equations in MATLAB, simplify function can be used for it. To read about it and have some examples to check how it w...

5 mois ago | 0

Answered

Make for loop and extract data from different tables within a structure.

The excel files here can be read directly with the help of readmatrix function. Suppose there is an excel file of name abc.xlsx,...

Make for loop and extract data from different tables within a structure.

The excel files here can be read directly with the help of readmatrix function. Suppose there is an excel file of name abc.xlsx,...

5 mois ago | 0

Answered

While Loop goes to debug

The script is working fine and does not go into debugging mode on 2019b version. To refer to how to use while loop and its docum...

While Loop goes to debug

The script is working fine and does not go into debugging mode on 2019b version. To refer to how to use while loop and its docum...

5 mois ago | 1

| accepted

Answered

Operator '*' is not supported for operands of type 'cell' after changing the cell

The two values we are trying to multiply are cell array and one cannot multiply cell arrays. You might be able to use Cell1{...

Operator '*' is not supported for operands of type 'cell' after changing the cell

The two values we are trying to multiply are cell array and one cannot multiply cell arrays. You might be able to use Cell1{...

5 mois ago | 0

Answered

How to set axis limit as a function of time with fanimator

I have brought this issue to the notice of our developers. They will investigate the matter further.

How to set axis limit as a function of time with fanimator

I have brought this issue to the notice of our developers. They will investigate the matter further.

5 mois ago | 0

Answered

Intlinprog, how to see some parametr

Optimization tools like intlinprog find ONE solution to a problem. They are not designed to search your space and return multipl...

Intlinprog, how to see some parametr

Optimization tools like intlinprog find ONE solution to a problem. They are not designed to search your space and return multipl...

5 mois ago | 0

Answered

MATLAB Application Server version 8.3 could not be initialised

A similar question has been answered here. If this does not help, please share the reproduction steps so we can have a deeper in...

MATLAB Application Server version 8.3 could not be initialised

A similar question has been answered here. If this does not help, please share the reproduction steps so we can have a deeper in...

5 mois ago | 0

Answered

Align the Legend Title to the Legend body

The legend title is by-default left aligned to legend body. Refer to the code below which generates the following picture and re...

Align the Legend Title to the Legend body

The legend title is by-default left aligned to legend body. Refer to the code below which generates the following picture and re...

5 mois ago | 0

Answered

How to use the classification learner app?

Type classification Learner in command line and classification learner app will open. Make sure to load the data in the workspac...

How to use the classification learner app?

Type classification Learner in command line and classification learner app will open. Make sure to load the data in the workspac...

5 mois ago | 0

Answered

Controlchart function with the conditional variance?

The problem that is arising here is because of the fact the argument given to sigma that is v1 is, it can’t take multiple output...

Controlchart function with the conditional variance?

The problem that is arising here is because of the fact the argument given to sigma that is v1 is, it can’t take multiple output...

5 mois ago | 0

Answered

How can I create a table containing all iterations?

To create a table, store every instance of iter, xr, func(xr), and es at each iteration into a list that is globally and append ...

How can I create a table containing all iterations?

To create a table, store every instance of iter, xr, func(xr), and es at each iteration into a list that is globally and append ...

5 mois ago | 1

| accepted

Answered

I need help in developing a function file GE_m(A,b) to determine the pivot row r such that a(rk) is the first nonzero entry among a(kk),a(k+1)...a(n,k). if a(kk)=a(k+1,k)=a(nk)=0 then pivot out that 'A is not invertible' and quit.

The following problem can be solved by using nested for loop. Refer to the following code to see how to solve this: function [...

I need help in developing a function file GE_m(A,b) to determine the pivot row r such that a(rk) is the first nonzero entry among a(kk),a(k+1)...a(n,k). if a(kk)=a(k+1,k)=a(nk)=0 then pivot out that 'A is not invertible' and quit.

The following problem can be solved by using nested for loop. Refer to the following code to see how to solve this: function [...

5 mois ago | 0

| accepted

Answered

it won't run as it keeps showing illegal use of the word else

The problem here is with the syntax of while loop, where else is being used inside while loop without using if first. Read about...

it won't run as it keeps showing illegal use of the word else

The problem here is with the syntax of while loop, where else is being used inside while loop without using if first. Read about...

5 mois ago | 0

Answered

how to show A is non singular using GE and ut function files. im using this code and its showing error in line 3 which is n=length(b);

Calculating determinant is a terribly inefficient thing for larger arrays. So, a nice alternative is to use the product of the d...

how to show A is non singular using GE and ut function files. im using this code and its showing error in line 3 which is n=length(b);

Calculating determinant is a terribly inefficient thing for larger arrays. So, a nice alternative is to use the product of the d...

5 mois ago | 0

| accepted

Answered

I can't insert latex equation in live script

This could be the browser issue because it seems to work fine in windows for me. Changing the browser can solve the problem.

I can't insert latex equation in live script

This could be the browser issue because it seems to work fine in windows for me. Changing the browser can solve the problem.

5 mois ago | 0

| accepted

Answered

Importing .bin file and doing Time Domain Analysis

A bin file can be imported in MATLAB using fread function. Suppose we have a bin file named input.bin, refer to the following c...

Importing .bin file and doing Time Domain Analysis

A bin file can be imported in MATLAB using fread function. Suppose we have a bin file named input.bin, refer to the following c...

5 mois ago | 0

Answered

How to calculate P at each x values?

The problem with the approach suggested above is only the values of last iteration of x will be stored in P values. So, to keep ...

How to calculate P at each x values?

The problem with the approach suggested above is only the values of last iteration of x will be stored in P values. So, to keep ...

6 mois ago | 0

Answered

Fitted error vs error of original fit

There seems to be a confusion between error of original fit which is calculated previously whereas fitted error of a fit is the ...

Fitted error vs error of original fit

There seems to be a confusion between error of original fit which is calculated previously whereas fitted error of a fit is the ...

6 mois ago | 0

Answered

Function not taking updated value of variable when it is passed to it

The problem in the above code is the variable kin that is changing with every iteration, it is not being used anywhere for plott...

Function not taking updated value of variable when it is passed to it

The problem in the above code is the variable kin that is changing with every iteration, it is not being used anywhere for plott...

6 mois ago | 0

Answered

for loop, if loop, while loop or combination?

Refer to the following code on how to do this: det_rate = [0.3, 0.2, 0.5, 0.1]; T = 8; % T is total searching ti...

for loop, if loop, while loop or combination?

Refer to the following code on how to do this: det_rate = [0.3, 0.2, 0.5, 0.1]; T = 8; % T is total searching ti...

6 mois ago | 0

| accepted

Answered

ANYONE KONWS HOW SIMPLENAR_DATASET IS GENERATED?

The simplenar_dataset is a nonlinear 2-delay feedback relationship, it is generated by a user defined function which returns the...

ANYONE KONWS HOW SIMPLENAR_DATASET IS GENERATED?

The simplenar_dataset is a nonlinear 2-delay feedback relationship, it is generated by a user defined function which returns the...

6 mois ago | 0

Answered

How does the algorithm of the residualSimilarityModel looks like?

1-step prediction for a model is for a time series IT = {Y1, Y2 ,…, YT }. At time T, we want to forecast YT+1, YT+2, YT+1, YT+2...

How does the algorithm of the residualSimilarityModel looks like?

1-step prediction for a model is for a time series IT = {Y1, Y2 ,…, YT }. At time T, we want to forecast YT+1, YT+2, YT+1, YT+2...

6 mois ago | 1

| accepted

Answered

Can I do a curve fit tool in a for loop?

The model coefficients for a Gaussian fit can be found out directly from the model. Refer to the following code on how to get t...

Can I do a curve fit tool in a for loop?

The model coefficients for a Gaussian fit can be found out directly from the model. Refer to the following code on how to get t...

6 mois ago | 0

| accepted

Answered

I am trying to store the values of each iteration of 0.01 in my for loop into a matrix. Could anyone help?

The history of tolerance and corresponding x values can be stored if we treat them as vectors and in each iteration of for loop ...

I am trying to store the values of each iteration of 0.01 in my for loop into a matrix. Could anyone help?

The history of tolerance and corresponding x values can be stored if we treat them as vectors and in each iteration of for loop ...

6 mois ago | 0