how to get time series from 3D matrix?

18 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 14 Apr 2019
ts = squeeze(YourArray(SomeRowNumber, SomeColumnNumber, :));
swappedArray = permute(YourArray, [2 1 3]);
Lilya on 28 Apr 2019
Sorry for the late 'Thanks'
Sir Roberson, I do appreciate your help.
many thanks!

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!