t=0:pi/50:10*pi;x=sin(t);y=cos(t);In=[x',y',t',ones(501,1)]';plot3(x,y,t);T1=view;figure;Out1=T1*In;plot(Out1(1,:),Out1(2,:));
MATLAB: How to use the view transform matrix to map 3-D plots to 2-D
MATLAB
MATLAB
t=0:pi/50:10*pi;x=sin(t);y=cos(t);In=[x',y',t',ones(501,1)]';plot3(x,y,t);T1=view;figure;Out1=T1*In;plot(Out1(1,:),Out1(2,:));
Best Answer