Adriano Filippo Inno
Followers: 0 Following: 0
Feeds
回答済み
nxn matrix as an input argument in function
I'm a bit confused by your question. Do you need to solve a linear system with the LU method? If yes, this function will work:...
nxn matrix as an input argument in function
I'm a bit confused by your question. Do you need to solve a linear system with the LU method? If yes, this function will work:...
約4年 前 | 0
回答済み
ODE45 how can I format this system of equations?
Assuming your parameters are constants, create the dynamics function as follows: function dY = DinFun(~,Y,parameters) % cons...
ODE45 how can I format this system of equations?
Assuming your parameters are constants, create the dynamics function as follows: function dY = DinFun(~,Y,parameters) % cons...
5年以上 前 | 1
質問
best way to evaluate a 2d function composed by a summation of functions
I need to plot this function: where c is a vector of constants, and each function is a polynomial expasion of the 4+i or 4+j...
5年以上 前 | 0 件の回答 | 0
0
回答回答済み
How to animate different plots at the same time using subplot, addpoints and animatedline?
If you don't want to plot a moving marker: t = 0:pi/20:10*pi; y1 = sin(t); y2 = sin(t+pi/2); subplot(1,2,1) curve1 = anim...
How to animate different plots at the same time using subplot, addpoints and animatedline?
If you don't want to plot a moving marker: t = 0:pi/20:10*pi; y1 = sin(t); y2 = sin(t+pi/2); subplot(1,2,1) curve1 = anim...
5年以上 前 | 0
| 採用済み
回答済み
Finding nearest values in two matrices
Hi John, the following do what you asked using min: a = A(:,1); b = B(:,1); Nb = length(b); A_new = zeros(Nb,3); fo...
Finding nearest values in two matrices
Hi John, the following do what you asked using min: a = A(:,1); b = B(:,1); Nb = length(b); A_new = zeros(Nb,3); fo...
5年以上 前 | 0
| 採用済み
質問
How to avoid evalin?
I have a .mat file that contains a large set of vectors. Let's say var1, var2,....varN I need to use these vectors in a for loo...
5年以上 前 | 1 件の回答 | 0
1
回答質問
ODE, how to retrive variables computed in the previous step
I need to solve a nonlinear system inside the ODE at each time step in order to construct the current state derivatives. Since...
約6年 前 | 1 件の回答 | 0
1
回答質問
How can I overwrite a variable saved in a script that I have to loop with a different value?
Try to make that simple: a = [10 20 30 40]; for i = 1:4 run('blabla.m') % but inside the script: a = 18 en...
7年以上 前 | 1 件の回答 | 0