MATLAB Answers

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

3 views (last 30 days)
swetha S
swetha S on 28 Jun 2019
Answered: KSSV on 28 Jun 2019
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) ;

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by