Reshaping a 2D Timetable to a 3 D timetable

조회 수: 6 (최근 30일)
Lewis Waswa
Lewis Waswa 2022년 3월 2일
댓글: Lewis Waswa 2022년 3월 2일
Hi everyone
I have five minutes resolution timetable with 20 entries which makes the whole TT to be of the dimensions 17596 by 20
I would like to obtain a 3D TT from this data such that I have 61 by 288 by 20. Is there a way to do that while retaining the TT attributes of the data?
I have tried reshaping as shown below
A_reshape= (A, 61,288,20)
%It returns an error
% Error using tabular/reshape (line 194)
%Undefined function 'reshape' for input arguments of type 'timetable'.

채택된 답변

Walter Roberson
Walter Roberson 2022년 3월 2일
No. In MATLAB, table() objects including timetable() objects are strictly 2 dimensions.
  댓글 수: 1
Lewis Waswa
Lewis Waswa 2022년 3월 2일
Thanks. Will have to figure a way arroud it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by