"someone" wrote in message <khvmhk$ith$1@newscl01ah.mathworks.com>...
> "Ko" wrote in message <kht93b$3vp$1@newscl01ah.mathworks.com>...
> > I'd like to write a Matlab code that would create a cylinder standing on a plane.
> >
> > Radius = 0.5
> > Height = 3
> > x-coordinate = 20
> > y-coordinate = 15
> >
> > Any suggestion will be greatly appreciated....
>
> Well, you've just defined it above. So, what do you mean by "create" it? If you mean plot it, then at the MATLAB command line type:
>
> doc polar
>
> You may also want to look at:
>
> doc cart2pol
> doc pol2cart
>
> or some of the others at the bottom of the help document in the "See also" section.
>
> You might also search the MATLAB FEX at:
>
> <<http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=cylinder>>
>
> There are programs for "plot a cylinder" and "draw a cylinder" to name a few.
In the file exchange, search 'geom3d'. This will lead you to a full 2d/3d toolbox that I use and works very well.
> "Ko" wrote in message <kht93b$3vp$1@newscl01ah.mathworks.com>...
> > I'd like to write a Matlab code that would create a cylinder standing on a plane.
> >
> > Radius = 0.5
> > Height = 3
> > x-coordinate = 20
> > y-coordinate = 15
> >
> > Any suggestion will be greatly appreciated....
>
> Well, you've just defined it above. So, what do you mean by "create" it? If you mean plot it, then at the MATLAB command line type:
>
> doc polar
>
> You may also want to look at:
>
> doc cart2pol
> doc pol2cart
>
> or some of the others at the bottom of the help document in the "See also" section.
>
> You might also search the MATLAB FEX at:
>
> <<http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=cylinder>>
>
> There are programs for "plot a cylinder" and "draw a cylinder" to name a few.
In the file exchange, search 'geom3d'. This will lead you to a full 2d/3d toolbox that I use and works very well.