%% Row Vector Input  
% Create a 3-D stem plot of cosine values between $-\pi/2$ and $\pi/2$ with a row
% vector input.   

% Copyright 2015 The MathWorks, Inc.


%%  
figure
X = linspace(-pi/2,pi/2,40);
Z = cos(X);
stem3(Z)    

%%
% |stem3| plots elements of |Z| against the same _y_ value at equally space
% _x_ values.   

