Find the average in a window of random variables
Show older comments
Hi pls
I have 10 random variables ( 2,4,5,6,3,4,5,7,8,6)
I want to write a matlab code that will do this computation using 5 window length ( k = 5)
1st window length (2,4,5,6,3)
2nd window length ( 4,5,7,8,6)
then I can find the average of each windom numbers
1st window average = 4
2nd window average = 6
Thanks in advance
Thanks in advance
3 Comments
Fangjun Jiang
on 28 May 2020
You should have enough experience to do it on your own.
Tino
on 28 May 2020
darova
on 28 May 2020
70 questions asked. Hello
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!