Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

plot curve with matlab

3 views (last 30 days)
saman ahmadi
saman ahmadi on 10 May 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Walter Roberson
Walter Roberson on 10 May 2020
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 Comments
saman ahmadi
saman ahmadi on 10 May 2020
Thanks a lot dear Walter Roberson. At where should i copy them in last code that you send me?
Walter Roberson
Walter Roberson on 10 May 2020
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.

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!