Community Profile

photo

종수 허


Last seen: 2 years ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How to avoid overlapping when plotting in for loop
t=[ %to print text text(2,3.5,'') text(2,3,'') text(2,2.5,'') text(2,2,'') text(2,1.5,'') ...

2 years ago | 1 answer | 0

1

answer

Question


How can I represent points and lines in 3 dimensions?
ox=0; oy =0; oz=0; x1=0; y1 =0; z1=0; x2=0; y2 =0; z2=0; x3=2; y3 =0.6; z3=0; x4=2; y4 =0.3; z4=0; x5=2; y5 =0.3; z5=-0.7; ...

2 years ago | 2 answers | 0

2

answers

Question


I want to draw a graph in 3D, but the z value is output as 0, so it comes out in 2D. In conclusion, I want to paint in three dimensions. How can I print it in 3D?
th1 = 0; th2 = 0; th3 =0; th4 =0; th5 = 0; th6 = 0; ox=0;oy=0;oz=0; c1 = cos(th1); c2 = cos(th2); c3 = cos(th3); c4 = cos(th4)...

2 years ago | 1 answer | 0

1

answer

Question


How can I print multiple texts that change using a for statement?
for i = 1:100 J = robot.jacob0(th); Jp = J(1:3,1:3); dq = inv(Jp)*[0.01;0;0]; th_new = th; th_new(1:3) = th_new(1:3) + dq';...

2 years ago | 1 answer | 0

1

answer