How to calculate moving average in a matrix?
Ältere Kommentare anzeigen
Hi Guys, I have got a matrix :378x9. I need to calculate the moving average with a window size of 120(starting from row one). Can somebody help me please? By the way, i need to do it also for the covariance(i mean,"A MOVING COVARIANCE). Thank you very much Andrea
2 Kommentare
Joseph Cheng
am 8 Okt. 2015
is this a window of 120x9 or are you looking to perform the averaging window per column.
Andrea Finocchiaro
am 8 Okt. 2015
Akzeptierte Antwort
Weitere Antworten (1)
Grzegorz Knor
am 7 Apr. 2017
0 Stimmen
1 Kommentar
Image Analyst
am 7 Apr. 2017
True, and it offers some edge handling options ('shrink', 'discard', 'fill') that conv2() does not have.
conv2() also does not require any toolboxes because it's in base MATLAB.
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!