From: mat001 on
"mat001 " <dres01(a)lycos.com> wrote in message <hod7fp$c0v$1(a)fred.mathworks.com>...
>
>
> n=40;
> x=linspace(-1,1,n);
> [X,Y,Z]=meshgrid(x,x,x);
> r0=1.0;
> ix=find(X.^2+Y.^2<r0^2);
> X=X(ix);Y=Y(ix);Z=2*Z(ix);
> plot3(X(:),Y(:),Z(:),'.');axis equal;
>
>
> I do not know this is really what i want.
 | 
Pages: 1
Prev: comsol to matlab
Next: ActiveDCAM