How to find solution of higher order equations for a number of Values?

1 view (last 30 days)
I want to find the solution of (r^2)/sqrt((1-r^2)^2+4*1.44*r^2) for all the values of 'r' between (0-5) with an increment of 0.01 . I was using:
r=0:0.01:5;
y=(r^2)/sqrt((1-r^2)^2+4*1.44*r^2)
But it kept on saying that:
??? Error using ==> mpower Inputs must be a scalar and a square matrix. To compute elementwise POWER, use POWER (.^) instead".
I want to know that how can i find the solution to this problem. Please help me out here.
Thanks,
Danish

Accepted Answer

Star Strider
Star Strider on 11 Nov 2014
It keeps saying that because it’s doing its best to give you the solution to your problem. I can’t improve on its advise.
  4 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!