MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何在Matlab中求解双系数符号方程? (https://www.labfans.com/bbs/showthread.php?t=22676)

poster 2019-12-10 16:49

如何在Matlab中求解双系数符号方程?
 
我有二次方程式1 / x = 1 /(ax)+ 1 /(3 * a -x)

我想在Matlab中解决它:

solve('1/x=1/(ax)+1/(3*ax)', 'x') ans = (4/3+1/3*7^(1/2))*a (4/3-1/3*7^(1/2))*a 有什么方法可以用浮点系数求解方程?喜欢

ans = 2.215250437021530*a 0.451416229645136*a
回答:
[URL="http://forum.allaboutcircuits.com/showthread.php?t=8234"]显然[/URL] , double(ans)应该为您转换。



[url=https://stackoverflow.com/questions/881010]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:11

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.