已知其他变量数组,求解隐函数中未知变量的一组解。

조회 수: 1 (최근 30일)
tagyen
tagyen 2023년 5월 18일
답변: qhajeun 2023년 5월 18일
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的矩阵,有四个结果,请问怎么运行出来?求聪明的人解答一下

채택된 답변

qhajeun
qhajeun 2023년 5월 18일
1、solve得不到解析解。
2、用vpasolve分别求解。得到很小的数。第三、四为复数。
vpasolve(exp(1)) %1可以替换
ans =-0.000000000000000000000000000000010073727206734123164162385344547

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!