Hi I have raw data 3D accelorometer

1 view (last 30 days)
Khalid Al naime
Khalid Al naime on 14 Mar 2019
Commented: Khalid Al naime on 18 Mar 2019
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

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by