MATLAB Answers

How to use ezplot ?

1 view (last 30 days)
RuiQi
RuiQi on 28 Feb 2018
Answered: Star Strider on 28 Feb 2018
I typed this but nothing shows up
syms x1 x2
f(x1, x2) = x1^2 + 9*x2^2;
ezplot(f);

  0 Comments

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 28 Feb 2018
For a function of two variables, use the ezsurf (or preferably fsurf) function instead:
syms x1 x2
f(x1, x2) = x1^2 + 9*x2^2;
ezsurf(f)
or:
syms x1 x2
f(x1, x2) = x1^2 + 9*x2^2;
fsurf(f)

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!