How can I split an increment of 80 rows from 1 column and 102400 data into another column counting 1280 columns?

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Image Analyst
Image Analyst il 28 Nov 2021
Do you mean this:
velocities = rand(1, 102400);
velocities = reshape(velocities, 1280, []);
columnMeans = mean(velocities, 1);
rowMeans = mean(velocities, 2);
  5 Commenti
Image Analyst
Image Analyst il 28 Nov 2021
You're welcome. Did it do what you want? If so, can you please click on the "Accept this answer" link? Thanks in advance.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by