How can i average a 1-D array every n elements?
Afficher commentaires plus anciens
I have a 1-D array of N elements, and i want to average them every k elements, but i want the output to still have the N size. Also N may or may not be an integer multiple of k. How can i do that?
Réponses (1)
infinity
le 7 Juil 2019
0 votes
Hello,
I think this function is exactly what you want
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!