Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
rectangular grid on cylinder

Subject: rectangular grid on cylinder

From: mat001

Date: 15 Apr, 2010 15:45:23

Message: 1 of 2

can someone explain me how i can use rectangular grid on cylinder for 3d.

Regards

Subject: rectangular grid on cylinder

From: Roger Stafford

Date: 16 Apr, 2010 03:16:05

Message: 2 of 2

"mat001 " <dres01@lycos.com> wrote in message <hq7caj$u8$1@fred.mathworks.com>...
> can someone explain me how i can use rectangular grid on cylinder for 3d.
>
> Regards

  If you want the cylinder aligned along the z-axis, that is what the 'cylinder' function does. Otherwise you can achieve an arbitrary orientation by rotating and translating the outputs of 'cylinder' appropriately before handing them to 'surf'.

Roger Stafford

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us