Weekly to six monthly sum
Mostra commenti meno recenti
Hi All
I have a matrix (named "X") with dimension 2196,7
Matlab (weekly) dates are in the first column and next 6 columns have prices
I wish to add (nansum) the first six month values and this becomes one observation in a new matrix "Y". Similarly, the sum of next six month values becomes the 2nd observation in matrix Y. And we do this till the last date (observation 2196).
Thanks for helping me in advance.
Regards
AHM.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Repeated Measures and MANOVA in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!