Feeds
질문
I'm solving using modefied euler method, and then finding Jacobian matrix (Fi_x). after running the code it gives me jacobian matrix 6x4. but it should be 6x6 because I have here n=6 and jacobian matrix should be in 6x6 dimension.
kmax=(tc-t0)/h; Xd1=[x0]; Tm1=[t0]; for k=1:kmax t1=k*h;Tm1=[Tm1 t1]; xd=modeu(Fdfp...
대략 12년 전 | 답변 수: 0 | 0
0
답변질문
How can I add the solutions of xd as a matrix , I tried with xd1 , but it still give an error. and how can I make the new value as a initial value for the next st. x0 known and kmax =10. While the solution should be a matrix of 10 rows .. Thank you !
for k=1:kmax t1=k*h; xd=modeu(Fdfpek,t1,x0,h); xd1=[xd'; x0]; ...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
To solve this file it says (Attempted to access x(2); index out of bounds because numel(x)=1) Can any one of you please tell me whats the problem... Thank you !
I attached the m.file ..
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
I'm trying to solve this but it says ( Attempted to access x(2); index out of bounds because numel(x)=1 ) ..I just want to change the solver from ode32 '' I marked it as a comment'' to modified euler method but it showing this problem
global Pm f H E Y th ngg f=60; R=linedata(:,3); X=linedata(:,4); % added 18/10/2012 %zdd=gendata(:,2)+j*gendata(:,3); ngr...
대략 12년 전 | 답변 수: 0 | 0
