how to convert 3d precipitation data to 2d in matlab

1 view (last 30 days)
I have 3d data, Rf(33,35,122), Lat,Lon,time....How to convert it into 2d data (gridpoint , time) Rf(33*35,122)? Anyway a pair of lat,lon corresponds to one value ( grid value).

Answers (1)

KSSV
KSSV on 28 Jun 2019
REad about reshape
iwant = reshape(Rf,33*35,122) ;

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!