Taking Mean/average
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a matrix V of 262080x1 in which I want to take average of first 15 values and store in new matrix say V1 then take next 15 values (16-30) take average and store in V1 again and this goes on to size of V.
0 commentaires
Réponses (1)
Azzi Abdelmalek
le 29 Avr 2016
Modifié(e) : Azzi Abdelmalek
le 29 Avr 2016
v=rand(262080,1); %--Example----
v1=mean(reshape(v,15,[]))
0 commentaires
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!