Plot graph
Submitted by ainkaloi on Fri, 04/20/2012 - 12:04
Dear all,
I need a help. I can run my program below, but the problem is not all the figure plotted come out, only figure 1 and figure 2. Why this situation happen? Tq.
function[sb_test]=sb_test(x,dx,y,dy,z,dz,phi,dphi,theta,dtheta,psi,dpsi,s1,s2,l1,l2,l3,l4,k1,k2,k3,k4,t)
i = %i;
omega=0;
ns=12;
ni=4;
delta_t=0.01;
x0=[x;dx;y;dy;phi;dphi;theta;dtheta;psi;dpsi;z;dz];
tf=15;
j1=0;
j2=0;
for i=1:t
t_current=(i-1)*delta_t;
tspan=i*delta_t;
t0=t_current;
tspan2=t0:delta_t:tspan;
// y=[x,dx,psi,dpsi,y,dy]
Taxonomy upgrade extras: