unable to solve sybolically.
2 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to solve this equation but the software keeps on giving me this warning : unable to solve sybolically.
And it goes to vpasolve giving me one solution for x and y while i expecting 6 solutions for x and 6 for y.
when i reduce my equation to
psi = 20.*((y.*cosd(-30))-(x.*sind(-30))) + (c.*log (sqrt((x-1).^2 + (y-1).^2))) + (c.*log (sqrt((x-3).^2 + (y-2).^2)))
Matlab will solve it with no problem giving me two soltions for each x and y as expected.
Any help to solve the entire equation and get my 6 solutions for each x and y ?
0 件のコメント
回答 (2 件)
Krishna Kumar
2019 年 3 月 25 日
Why do you declare this?- [x,y] = meshgrid(0:0.5:10, 0:0.5:10);
if you are anyway declaring x and y to be symbolic later. This could be a source of problem.
2 件のコメント
Krishna Kumar
2019 年 3 月 25 日
Probably the use of sol=solve(u,v); i.e. the syntax could be an issue. I understand this solves u=0 for the variable v. Is this what you want? or do you want to solve psi=0 for x and y?
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!