ellipsoid function

1 view (last 30 days)
Nelly
Nelly on 18 Feb 2012
well, I try to use 'ellipsoid' function. I tryed the example from Help but It is not working. The answer : "??? Error using ==> ellipsoid Too many output arguments."
Please, give me some solution. I can't use "sphere" function. Thanks a lot,

Answers (1)

Image Analyst
Image Analyst on 18 Feb 2012
I just copied and pasted this from the help and it ran fine:
[x, y, z] = ellipsoid(0,0,0,5.9,3.25,3.25,30);
surfl(x, y, z)
colormap copper
axis equal
I suspect that you must have altered it somehow, like you said this or something
[x, y, z, someBogusArgument] = ellipsoid(0,0,0,5.9,3.25,3.25,30);

Community Treasure Hunt

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

Start Hunting!