MATLAB Answers

0

How looping Coordinates form array list with comma

Asked by SAMEER ahamed on 25 Feb 2014
Latest activity Edited by SAMEER ahamed on 25 Feb 2014
Hi,
I am new for mat-lab , I have input video file read frames (10) ,having dynamic values below like :
if true
% code
for int i =1:10
matrix{1,i}=[ax,ay,bx,by,cx,cy,dx,dy];%1-by-8 matrix different values
disp(matrix{1,i});
end
end
Note : I got values like ,based on i value increment up to 9(0-9)
result 1 for i value:
2
2
2
2
22
2
2
5
54
3
233
23
2
23
323
32
etc
Note 2: Based on link <%3Chttp://www.mathworks.cn/cn/help/symbolic/mupad_ref/points2d.html%20coordinates%3E coordinates> , I wanna to generate like matrix=[[2,2,2,2,22,22,2,2],[54,3,23,2,23,323,32]];etc.please let me know .thanks

  2 Comments

Thank's for reply me, please let me know based on input video file frames .further details please refer to previous forum. Example :
if true
% code
matrix=[[318, 323, 197, 357, 258, 303, 258, 350], [318, 323, 197, 357, 258, 303, 258, 350]]]
end

Sign in to comment.

0 Answers