已知其他变量数组,求解隐函数中未知变量的一组解。
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
syms t C D Q v x y z;
C=[4,53,2,5];
D=12*ones(1,4);
Q=5*ones(1,4);
v=4*ones(1,4);
x=[43,5,1,4];
y=[43,53,2,1];
z=[1,3,5,7];
exp = C.*(2*sqrt(t.*D)).^3-Q.*exp(-((x-v.*t).^2+y.^2+z.^2))./(4*t.*D);
t = solve(exp,t)
结果t应该是1*4的矩阵,有四个结果,请问怎么运行出来?求聪明的人解答一下
0 Kommentare
Akzeptierte Antwort
qhajeun
am 18 Mai 2023
1、solve得不到解析解。
2、用vpasolve分别求解。得到很小的数。第三、四为复数。
vpasolve(exp(1)) %1可以替换
ans =-0.000000000000000000000000000000010073727206734123164162385344547
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!