Hi I have raw data 3D accelorometer
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
KSSV
2019-3-14
REad about reshape
A = rand(300,3) ;
B = permute(reshape(A, 300/30, 3, []), [1, 3, 2]);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!