Plotting a complicated function
Show older comments
Hello
I have to plot a equation which is
sqrt((2*(a+b))/(a*b)) - (1+sqrt(a))/sqrt(a) - (sqrt((2)/(b*(1+b))))*(1-b) = 1/sqrt(a) - (sqrt(2)*(1-a))/sqrt(a*(1+a)) -1
I have to plot b as a function of a.
I keep getting failed to plot this complicated function.
Answers (1)
Grzegorz Knor
on 21 Nov 2013
Use ezplot function:
ezplot('sqrt((2*(a+b))/(a*b)) - (1+sqrt(a))/sqrt(a) - (sqrt((2)/(b*(1+b))))*(1-b) = 1/sqrt(a) - (sqrt(2)*(1-a))/sqrt(a*(1+a)) -1')
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!