Mean of samples within a for loop
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone,
How can I find mean of a chunk of samples within for loop and save it for later use?
Thanks
SK
0 commentaires
Réponses (1)
Image Analyst
le 7 Juin 2013
Have you tried the built-in functions mean() and mean2()??? That's what comes to mind first. If you need further assistance, explain "chunk", and do "whos" on your array so we know what we're dealing with, give us a small example, and explain exactly what form you mean when you say "save" (e.g. a file on disk or a variable).
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements 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!