How looping Coordinates form array list with comma
Show older comments
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
Answers (0)
Categories
Find more on Video Formats and Interfaces 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!