MATLAB Projects DISCUSSION

Plot the cylinder in Matlab

Started by syedzainnasir Plot the cylinder in Matlab
0 replies 248 views 1 participants
Latest activity · 06 Mar 2017

Plot the cylinder in Matlab

syedzainnasir MATLAB Projects Forum
#1
can anyone help me to solve the task: Plot the cylinder ((x-1)^2)/4 + y^2=4 for -1<=z<=1 by using the cylinder function. The cylinder shall begin in z=-1 and end in z=1

I have read through the help cylinder function in Matlab but cant seem to figure out how to get it right.

I tried to put figure [X,Y,Z]= cylinder((x-1)^2/4+y^2) surf [X,Y,Z] axis square

Community replies 0

Be the first to help

There are no replies yet.

TEP COMMUNITY