I typed this but nothing shows up
syms x1 x2
f(x1, x2) = x1^2 + 9*x2^2;
ezplot(f);

 채택된 답변

Star Strider
Star Strider 2018년 2월 28일

0 개 추천

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개)

카테고리

태그

질문:

2018년 2월 28일

답변:

2018년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by