为什么使用solve解方程组时解出的结果还包含未知数?。
Show older comments
syms Xa Ya m1 n1 F1H1 m2 n2
[m2,n2]=solve((m2-m1)^2+(n2-n1)^2-F1H1^2,((Xa-m1)*(m2-m1)+(Ya-n1)*(n2-n1))/(sqrt((Xa-m1)^2+(Ya-n1)^2)*sqrt((m2-m1)^2+(n2-n1)^2))-1);
subs([m2,n2],{Xa Ya m1 n1 F1H1},{146 353 -303.60937808719677128737719835232 180.41580413077680071997611341372 7.1507})
出现了如下的结果:(353*m2 - (1977402956656035*(353*m2 + m2*(-(m2 + 814899409279937267/2748779069440000)*(m2 + 854210798263626483/2748779069440000))^(1/2)
我只截取了部分结果。我想求的是m2,n2,求出的结果中却包含m2,这是为什么?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 快速入门 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!