How to graph the function f(x,y)=9 - x^2 - 9*y^2 in 3D

How i can graph the function f(x,y)=9 - x^2 - 9*y^2 in 3D , please help me guys. i am out of ideas

Antworten (1)

KSSV
KSSV am 13 Jun. 2020
m = 100 ; n = 100 ;
x = linspace(0,1,m) ;
y = linspace(0,1,n) ;
[X,Y] = meshgrid(x,y) ;
Z = 9-X.^2-9*Y.^2 ;
surf(X,Y,Z)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 13 Jun. 2020

Beantwortet:

am 13 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by