Use MATLAB to compute a 6-point moving average
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Use MATLAB to compute a 6-point moving average of the input signal, x[n] = 5sin(pi n /10 + pi/ 4) , for 0 lowest than or equal n greater than or equal 69. Display a MATLAB plot of the output signal.
1 Kommentar
Antworten (1)
Prem Kumar Tiwari
am 13 Dez. 2018
Bearbeitet: Prem Kumar Tiwari
am 13 Dez. 2018
It can be used to quickly compute the moving average of a vector. If you have a matrix (collection of vectors), as it is apparant from you question. You can repeat movmean over all the vecotors of a matrix.
You've to use value of k to be 6, as you asked in question. Explore the link to learn more about it.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!