Evaluating a non exact result
古いコメントを表示
Hello everyone ! Can anyone help me please? I'm solving a system of equations and the result which I got is not a direct value. I get like : 15878585848585^(1/2)+555882544150*5214874852652/28752564526 . I take this value to Maple and I use "evalf" , I can obtain what I wanna get. but I wanna get it directly in Matlab. can anyone has an idea ! thank you very mych
回答 (2 件)
Azzi Abdelmalek
2013 年 2 月 2 日
編集済み: Azzi Abdelmalek
2013 年 2 月 2 日
s=sym('15878585848585^(1/2)+555882544150*5214874852652/28752564526');
out=subs(s)
Walter Roberson
2013 年 2 月 2 日
0 投票
double() the symbolic number.
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!