Plotting a complicated function

1 view (last 30 days)
Jae-Woong
Jae-Woong on 21 Nov 2013
Answered: Grzegorz Knor on 21 Nov 2013
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
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 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!