MATLAB Answers

Plotting 3D Yield Function

조회 수: 18(최근 30일)
Gabriella Locantore
Gabriella Locantore 23 Oct 2020
답변: Arpit Bhatia 27 Oct 2020
Hi! Im trying to obtain a 3D plot of this equation: f = O - (Y^2) where Y is a constant and O = (x^2) + (y^2) + (z^2) - 2v(xy + xz + yz). v is also a constant. The plot should be an ellipsoid, varying in shape depending on what v is


Arpit Bhatia
Arpit Bhatia 27 Oct 2020
Hi Gabriella,
The function you mentioned takes 3 input arguments (x, y and z) and hence would require a 4D plot to visualize. Please refer to the below links on how to visualize a function with 3 arguments:


Community Treasure Hunt

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

Start Hunting!

Translated by