How to Plot the parametric space curve of matlab

7 views (last 30 days)
How to Plot the parametric space curve of z=-7/(x^2+y^2+1) , -5<=x<=5 , -5<=y<=5

Accepted Answer

KSSV
KSSV on 1 Oct 2021
x = linspace(-5,5) ;
y = linspace(-5,5) ;
[X,Y] = meshgrid(x,y) ;
Z=-7./(X.^2+Y.^2+1) ;
surf(X,Y,Z)

More Answers (0)

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!