How to calculate mean of output in a for loop?
1 view (last 30 days)
Show older comments
I
1 Comment
Answers (1)
Rik
on 3 Dec 2019
If you want to calculate the mean and the variance you will have to store the output. Since you know the number of iterations, you can preallocate an appropriate vector.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!