Feeds
提问
Error this answer is NaN, in my runge-kutta code
hello guys I'm compiling a code in research, code like a close clear clc C1 = 1; C2 = 1; A1 = 1; A2 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error: Function definitions are not permitted in this context.
help for error this my code function y = code1(A,B,C,x0) | Error: Function definitions are not permitted in this context. %...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to fix it ? Warning: Do not specify equations and variables as character strings. Instead, create symbolic variables with syms. > In solve>getEqns (line 455) In solve (line 227)
my code S=dsolve('Dx1=x2,Dx2=-lam2,Dlam1=0,Dlam2=-lam1,x1(0)=1,x2(0)=2,x1(tf)=3,lam2(tf)=0') t='tf'; eq1=subs(S.x1)-'x1tf'; ...
5 years 前 | 1 个回答 | 0

