I do not know the meaning of this code
Mostrar comentarios más antiguos
numsteps=20;
xdisp=10;
ydisp=15;
Tx=[0:xdisp/numsteps:xdisp , zeros(1,numsteps+1)+xdisp];
Ty=[zeros(1,numsteps+1), 0:ydisp/numsteps:ydisp ];
Tz=[zeros(1,numsteps+1), zeros(1,numsteps+1) ];
theta10=0;
theta20=pi/6;
theta30=-pi/3;
theta40=0;
theta4s=theta30;
maxtheta1=pi/6;
I do not know the meaning of this part
Tx=[0:xdisp/numsteps:xdisp , zeros(1,numsteps+1)+xdisp];
Ty=[zeros(1,numsteps+1), 0:ydisp/numsteps:ydisp ];
Tz=[zeros(1,numsteps+1), zeros(1,numsteps+1) ];
plz explan to me..
Respuestas (1)
Oleg Komarov
el 7 de Mayo de 2011
0 votos
Execute the parts of the expression you don't understand to see what happens (highlight the part of code you want to check and press F9).
Also:
- doc colon
- doc zeros
Categorías
Más información sobre Aerospace Blockset en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!