how to plot 3d oval shape with 81 nodes

Answers (1)

Matt J
Matt J on 26 Jul 2023
Edited: Matt J on 26 Jul 2023
An "oval" is a loose term. If you mean an ellipsoid, then you could use this FEX download,
[eCenter,eABC,eYPR]=deal([0 2 1] , [3 2 1], [20 30 0]); %Ellipsoid parameters
gtEllip=ellipsoidalFit.groundtruth([],eCenter,eABC,eYPR);
plot(gtEllip, {'FaceColor', 'm'});

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 26 Jul 2023

Edited:

on 26 Jul 2023

Community Treasure Hunt

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

Start Hunting!