ellipsoid function

2 次查看(过去 30 天)
Nelly
Nelly 2012-2-18
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,

回答(1 个)

Image Analyst
Image Analyst 2012-2-18
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);

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by