how to get time series from 3D matrix?

2 ビュー (過去 30 日間)
Lilya
Lilya 2019 年 4 月 14 日
コメント済み: Lilya 2019 年 4 月 28 日
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

採用された回答

Walter Roberson
Walter Roberson 2019 年 4 月 14 日
ts = squeeze(YourArray(SomeRowNumber, SomeColumnNumber, :));
swappedArray = permute(YourArray, [2 1 3]);
  3 件のコメント
Walter Roberson
Walter Roberson 2019 年 4 月 14 日
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]);
Lilya
Lilya 2019 年 4 月 28 日
Sorry for the late 'Thanks'
Sir Roberson, I do appreciate your help.
many thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by