I have a 2 dimensional array. I want to view it.
Mostrar comentarios más antiguos
I am new to MATLAB and I facing the following trouble-
I have a 2 dimensional array (termed as trajectories). It has 7808 rows and 2 columns. I want to view it!
The command : trajectories(:,:,1) or trajctories(:,:,2) is not helping as I get about 5000 rows and not the full array.
Also can I save these as 2 excel files?
Please help!
Thanks in advance, Ishani
Respuesta aceptada
Más respuestas (1)
KSSV
el 21 de Sept. de 2021
x = trajectories(:,1) ;
y = trajectories(:,2) ;
plot(x,y)
2 comentarios
Ishani Mukherjee
el 21 de Sept. de 2021
KSSV
el 21 de Sept. de 2021
Let T be your n*2 array.
writetable(T,'test.xlsx');
Categorías
Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!