Info

この質問は閉じられています。 編集または回答するには再度開いてください。

plot curve with matlab

1 回表示 (過去 30 日間)
saman ahmadi
saman ahmadi 2020 年 5 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Walter Roberson
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 件のコメント
saman ahmadi
saman ahmadi 2020 年 5 月 10 日
Thanks a lot dear Walter Roberson. At where should i copy them in last code that you send me?
Walter Roberson
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!

Translated by