Hi I have raw data 3D accelorometer

Hi i have 3D raw data accelorometer 300*3 matrics . I need to divide the raw data into 10 part each part 30*10 sequentially and run the matlab to execute the data and stor it in same time. for example
1 1 1
2 2 2
: : :
30 30 30
the program should excute the above matrics then move to next matrics from row (31 to row 60)*3 and so on . in same run.
Thank you

回答 (1 件)

KSSV
KSSV 2019 年 3 月 14 日

0 投票

REad about reshape
A = rand(300,3) ;
B = permute(reshape(A, 300/30, 3, []), [1, 3, 2]);

1 件のコメント

Khalid Al naime
Khalid Al naime 2019 年 3 月 18 日
Hi thanks for your reply,

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

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

タグ

質問済み:

2019 年 3 月 14 日

コメント済み:

2019 年 3 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by