how to get time series from 3D matrix?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Lilya
el 14 de Abr. de 2019
Comentada: Lilya
el 28 de Abr. de 2019
Hi all,
I want to get the time series from the 3D matrix the has the dimention of (8*11*1416), the result is getting (1416*1).
also I want to change the order from (8*11*1416) to (11*8*1416).
Any help will be appreciated.
Thanks
0 comentarios
Respuesta aceptada
Walter Roberson
el 14 de Abr. de 2019
ts = squeeze(YourArray(SomeRowNumber, SomeColumnNumber, :));
swappedArray = permute(YourArray, [2 1 3]);
3 comentarios
Walter Roberson
el 14 de Abr. de 2019
Works fine for me.
ts = squeeze(E_NRS(3, 7, :)); %one of the 88 time series you have
swappedArray = permute(E_NRS, [2 1 3]);
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!