How can I split an increment of 80 rows from 1 column and 102400 data into another column counting 1280 columns?
2 次查看(过去 30 天)
显示 更早的评论
I have a series of data - velocites. I have 102400 data points but I need to organise them into 1280 columns of 80 rows each (table). after that i need to mean them and obtain running mean.
0 个评论
采纳的回答
Image Analyst
2021-11-28
Do you mean this:
velocities = rand(1, 102400);
velocities = reshape(velocities, 1280, []);
columnMeans = mean(velocities, 1);
rowMeans = mean(velocities, 2);
5 个评论
Image Analyst
2021-11-28
You're welcome. Did it do what you want? If so, can you please click on the "Accept this answer" link? Thanks in advance.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!