three link simulation problem

hello there,
im new in matlab and seek for help. i did some coding here :-
clear all;clc;clf;
hold on;
x2=5;
%for loop for i=5:9 x2=x2+0.5 plot([5, x2],[10,14], [10,5],[10,10], [10,10],[3,10],'marker','o','color','r'); axis ([0 25 0 25])
hold off;
pause(0.2);
end
i want the final coordinate end at (15,20) and all the line following it and make a straight line at the end. i'm totally blank here.may someone help me pls... thanks. i need it for my assignmnt.
thanks

Answers (0)

Tags

Asked:

m
m
on 22 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!