how to plot given plane in matlab (It will be 3d)

 Réponse acceptée

Ameer Hamza
Ameer Hamza le 5 Oct 2020
Modifié(e) : Ameer Hamza le 5 Oct 2020
A simple solution is to use fimplicit3
f = @(x, y, z) 4.7243+1.1351*x + 3.1351*z - y;
fimplicit3(f);
An alternative solution using surf()
[X, Z] = meshgrid(linspace(-5, 5));
Y = 4.7243+1.1351*X + 3.1351*Z;
surf(X, Y, Z)
shading interp

2 commentaires

thanks i think it worked
I am glad to be of help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by