constantly receiving an error undefined function or variable z when use solve
古いコメントを表示
I was trying to find the intersection points of these function
f1=sym('y=x^3');
f2=sym('x^2+y^2=1');
S=solve(f1,f2,x,y);
solx=eval(S.x);
soly=eval(S.y);
I can't do eval(S.x) because i receive the error
Undefined function or variable 'z'.
1 件のコメント
Stephen23
2020 年 1 月 4 日
Do not use eval on symbolic expressions:
https://www.mathworks.com/matlabcentral/answers/400718-need-help-with-vector-and-eval#comment_568074
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!