average for each year
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
sky walker
am 12 Jul. 2021
Kommentiert: sky walker
am 12 Jul. 2021
i have this Matrix, consisting of 3 columns: Column 1: long Column 2: lat Column 3: year
lets say 97x281x15,
I want to make average for each year. so i want the result is 1x15, or 15x1
or kind of look like this
YEAR / DATA AVERAGE
1995 25.786
1996 25.686
1997 25.746
1998 25.686
and so on
Thank you for your suggestions.
2 Kommentare
Ive J
am 12 Jul. 2021
If you're matrix has 3 columns, the size should be of size rowX3, can you upload a subset of your data (mat/delimited file)?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!