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!