I am an Associate in the Engineering Development Group here at The MathWorks.

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

답변 있음

How to solve unknown number of equations

Hi Yagna, You can solve the same equations using solve function in MATLAB. Here is a sample code for it. clc; clear all; %...

How to solve unknown number of equations

Hi Yagna, You can solve the same equations using solve function in MATLAB. Here is a sample code for it. clc; clear all; %...

약 1달 전 | 0

답변 있음

help with analysis currents measurement plot.

Hi Freddy, You can extract current values from the txt file by the help of find function of MATLAB.Here is the code for it. clc...

help with analysis currents measurement plot.

Hi Freddy, You can extract current values from the txt file by the help of find function of MATLAB.Here is the code for it. clc...

약 1달 전 | 0

답변 있음

How to get a transfer function for a dynamic model that is only a function of time?

Hi, I understand you are trying get transfer function from a differential equation having only one variable i.e. time. It can be...

How to get a transfer function for a dynamic model that is only a function of time?

Hi, I understand you are trying get transfer function from a differential equation having only one variable i.e. time. It can be...

약 1달 전 | 0

답변 있음

Plotting first-order differential equation with initial condition

Hi, I understand you are trying to plot the differential equation. The issue while plotting with ode45 is it tries to solve it n...

Plotting first-order differential equation with initial condition

Hi, I understand you are trying to plot the differential equation. The issue while plotting with ode45 is it tries to solve it n...

약 1달 전 | 0

| 수락됨

답변 있음

Dealing with symbolic parameter in a DAE

Hi, I understand you are trying to solve DAEs Using Mass Matrix Solvers. The error is due to missing input argument of the odeF...

Dealing with symbolic parameter in a DAE

Hi, I understand you are trying to solve DAEs Using Mass Matrix Solvers. The error is due to missing input argument of the odeF...

약 1달 전 | 0

| 수락됨

답변 있음

Please help! pdepe does not stop!!

Hi, I understand you are trying to solve this partial differential equation. You can do this by using pdepe. Here is a sample co...

Please help! pdepe does not stop!!

Hi, I understand you are trying to solve this partial differential equation. You can do this by using pdepe. Here is a sample co...

약 1달 전 | 0

답변 있음

Energy Balance Differential Equation

Hi, I understand you are trying to solve the equation. You can do this using dsolve. Here is a sample code. clc; clear all; ...

Energy Balance Differential Equation

Hi, I understand you are trying to solve the equation. You can do this using dsolve. Here is a sample code. clc; clear all; ...

약 1달 전 | 0

답변 있음

How to solve unknown number of equations

Hi, I understand you are trying to create number of equations. You can do this using syms. Here is a sample code. clc; clear...

How to solve unknown number of equations

Hi, I understand you are trying to create number of equations. You can do this using syms. Here is a sample code. clc; clear...

약 1달 전 | 0

답변 있음

help with analysis currents measurement plot.

Hi, you can load data using textscan and plot the graph using plotfunction. Here is a sample code. clc; clear all; fid=fopen(...

help with analysis currents measurement plot.

Hi, you can load data using textscan and plot the graph using plotfunction. Here is a sample code. clc; clear all; fid=fopen(...

약 1달 전 | 1

답변 있음

How to solve a transcendental equation?

Hi, I understand you are trying to solve this equation having complex roots. You can solve the equation using solvefunction. Her...

How to solve a transcendental equation?

Hi, I understand you are trying to solve this equation having complex roots. You can solve the equation using solvefunction. Her...

약 1달 전 | 0

답변 있음

Optimizing the output of ode45 by varying a parameter

Hi, I understand that you are trying to find maximum value of V for a range of R. Here is a sample code. ‘V_max’ gives maximum V...

Optimizing the output of ode45 by varying a parameter

Hi, I understand that you are trying to find maximum value of V for a range of R. Here is a sample code. ‘V_max’ gives maximum V...

약 1달 전 | 0

| 수락됨

답변 있음

Getting General Solution Using dsolve

Hi, I understand that you are not able to find solution through dsolve. The function dsolve can solve differential equations whe...

Getting General Solution Using dsolve

Hi, I understand that you are not able to find solution through dsolve. The function dsolve can solve differential equations whe...

약 1달 전 | 0

답변 있음

I have .mat file that has a size of 1374x2. How do I load this in to variable that can be used inside a function?

Hi, I understand you are getting error in loading a MAT file. Here is a sample code for this, in which MAT file is created using...

I have .mat file that has a size of 1374x2. How do I load this in to variable that can be used inside a function?

Hi, I understand you are getting error in loading a MAT file. Here is a sample code for this, in which MAT file is created using...

약 1달 전 | 0

답변 있음

Matlab error: Index in position 2 exceeds array bounds (must not exceed 737). Error in FinalLaser (line 57) test_imb=imagebb(test_xmin-x_disp_max:test_xmax+x_disp_max, test_ymin-y_disp_max:test_ymax+y_disp_max);

Hi, it is difficult to provide an exact solution without your original data. However, when I executed your code using demo data,...

Matlab error: Index in position 2 exceeds array bounds (must not exceed 737). Error in FinalLaser (line 57) test_imb=imagebb(test_xmin-x_disp_max:test_xmax+x_disp_max, test_ymin-y_disp_max:test_ymax+y_disp_max);

Hi, it is difficult to provide an exact solution without your original data. However, when I executed your code using demo data,...

약 1달 전 | 0

답변 있음

Matrix Manipulation/Shifting

Hi, I understand you are trying to shift matrix using imwarp function. You can do this by manipulating Displacement field of th...

Matrix Manipulation/Shifting

Hi, I understand you are trying to shift matrix using imwarp function. You can do this by manipulating Displacement field of th...

약 1달 전 | 0

| 수락됨

답변 있음

Simulink: Variable inferred as variable size matrix when defined from constant blocks

Hi, you can do that by changing the size of that input as Variable Size. Go to the Function Editor > Edit Data > Mark as Variab...

Simulink: Variable inferred as variable size matrix when defined from constant blocks

Hi, you can do that by changing the size of that input as Variable Size. Go to the Function Editor > Edit Data > Mark as Variab...

약 1달 전 | 0

답변 있음

overlap and plot frequency response of filters

Hi, You can do that by changing the Configuration properties of the Scope block. Configuration Properties > Number of input por...

overlap and plot frequency response of filters

Hi, You can do that by changing the Configuration properties of the Scope block. Configuration Properties > Number of input por...

약 2달 전 | 0

답변 있음

The following error occurred converting from sym to double: Unable to convert expression into double array. Error in PartB (line 21) p_hat(i) = P(i)+(a1*u(i-1))+(a2*du(i-1))+(a3*ddu(i-1));

Hi, when I executed your code and my understanding is that the error is due to it is trying to access an data which is not compu...

The following error occurred converting from sym to double: Unable to convert expression into double array. Error in PartB (line 21) p_hat(i) = P(i)+(a1*u(i-1))+(a2*du(i-1))+(a3*ddu(i-1));

Hi, when I executed your code and my understanding is that the error is due to it is trying to access an data which is not compu...

약 2달 전 | 0

답변 있음

in simulink for fourier transformation I do not get any answer in frequency output.

Hi, I simulated your Simulink design. Here is a working solution to the issue, instead of using “Vector Scope” try “Scope” Block...

in simulink for fourier transformation I do not get any answer in frequency output.

Hi, I simulated your Simulink design. Here is a working solution to the issue, instead of using “Vector Scope” try “Scope” Block...

약 2달 전 | 0

답변 있음

Plotting results of DFT loop

Hi, it is difficult to provide an exact solution without your original data. However, when I executed your code using random dat...

Plotting results of DFT loop

Hi, it is difficult to provide an exact solution without your original data. However, when I executed your code using random dat...

약 2달 전 | 0

| 수락됨