Borrar filtros
Borrar filtros

How looping Coordinates form array list with comma

1 visualización (últimos 30 días)
SAMEER ahamed
SAMEER ahamed el 25 de Feb. de 2014
Editada: SAMEER ahamed el 25 de Feb. de 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 comentarios
SAMEER ahamed
SAMEER ahamed el 25 de Feb. de 2014
Editada: SAMEER ahamed el 25 de Feb. de 2014
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

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by