How do I plot the following eq. x.^2+(y-z).^2 = 2*z.^2

3 Ansichten (letzte 30 Tage)
Anton Larsson
Anton Larsson am 30 Mär. 2017
Beantwortet: KSSV am 30 Mär. 2017
Cheers!

Akzeptierte Antwort

KSSV
KSSV am 30 Mär. 2017
N = 10 ;
x = linspace(0,1,N) ;
y = linspace(0,1,N) ;
z = linspace(0,1,N) ;
[X,Y,Z] = meshgrid(x,y,z) ;
F = X.^2+(Y-Z).^2 -2*Z.^2 ;
isosurface(X,Y,Z,F,0)
doc isosurface

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by