I do not know the meaning of this code
Show older comments
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..
Answers (1)
Oleg Komarov
on 7 May 2011
0 votes
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
Categories
Find more on Robotics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!