Date: Mar 15, 2013 1:42 PM
Subject: Re: How to write a matlab code for a cylinder
"Ko" wrote in message <firstname.lastname@example.org>...
> 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:
You may also want to look at:
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:
There are programs for "plot a cylinder" and "draw a cylinder" to name a few.