Why is it wrong: e3=sym('sin(x)^2+cos(x)=0')
1 回表示 (過去 30 日間)
古いコメントを表示
Why is it wrong: e3=sym('sin(x)^2+cos(x)=0')
0 件のコメント
採用された回答
madhan ravi
2019 年 4 月 22 日
編集済み: madhan ravi
2019 年 4 月 22 日
sym('') was replaced by str2sym('') in latest versions and you seem to be using 2018b version
e3=str2sym('sin(x)^2+cos(x)=0')
% ^^^^^^^
10 件のコメント
madhan ravi
2019 年 4 月 22 日
It only works for only a number or a variable. Read the documentations. Take MATLAB on-ramp course to learn the basics of MATLAB.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Assumptions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!