I do not know the meaning of this code
이전 댓글 표시
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..
답변 (1개)
Oleg Komarov
2011년 5월 7일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Aerospace Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!