how to get time series from 3D matrix?

조회 수: 10 (최근 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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by