Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
plot curve with matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi. how can i plot this eq. to (qa-w)?
2502*cos(qa) - (6*w^2*cos(qa))/5 - (50873*w^2)/52500 + (123*w^4)/87500 - 357706/63=0
thank you
댓글 수: 0
답변 (1개)
Walter Roberson
2020년 5월 10일
syms qa real
syms w
eqn = 2502*cos(qa) - (6*w^2*cos(qa))/5 - (50873*w^2)/52500 + (123*w^4)/87500 - 357706/63 == 0;
sol = solve(eqn);
sol = sol(isAlways(sol>0)); %4 solutions, 2 of which are complex, 1 is always negative for real qa
fplot(sol, [-pi pi])
댓글 수: 7
Walter Roberson
2020년 5월 10일
Execute those in the command window after you run the code I posted earlier, and tell us what the results are. These are commands to help us debug the problem, not commands that will somehow fix the problem.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!