Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Ploting
Date: Mon, 2 Aug 2010 03:43:07 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <i35esb$7q4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1280720587 8004 172.30.248.37 (2 Aug 2010 03:43:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 2 Aug 2010 03:43:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2432823
Xref: news.mathworks.com comp.soft-sys.matlab:658172

I am trying to plot something in matlab and cannot get anything but the axis showing up..

I have a 6x6 matrix with sind(i) and cosd(i) in it, where i is an angle I need to vary from 0 to 30 degrees. My code I am using is 

for i = 0:1:30
A= [-1 0 0 0 0 1; 0 -1 0 1 0 0; -1 0 1 0 1 0; (.3*(cosd(i))) 0 0 0 0 0; ((-.3*(sind(i))+.4)) 0 0 0 .8 0; (.3*(cosd(i))) 0 0 -.8 0 0];
C = [0; 0; 981; 98.1; 490.5; 0];
D=inv(A);
F=D*C;
plot(F(6,:),i);
end
 
Where F= [P, Ryb, Rzb, Rya, Rza, Rxa] and I need the plot of Rxa verse i (0-30 degrees).

I am not very familiar with matlab so this maybe completely wrong but please help.