Grid Resolution Change in Matlab
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
If I have a matrix of 10x200x300 double of horizontal resolution 0.25x0.25 (degrees). How can I change the horizontal resolution to 1x1 (degrees) in matlab?
0 Commenti
Risposte (2)
Walter Roberson
il 12 Mag 2020
Modificato: Walter Roberson
il 12 Mag 2020
NewGrid = imresize(YourGrid, 1/4);
Each pane will be done independently, so the result would be 3 x 50 x 300
2 Commenti
Joydeb Saha
il 13 Mag 2020
1 Commento
Walter Roberson
il 13 Mag 2020
YourGrid = Name_of_your_data_matrix_goes_here;
Time_Averaged_Grid = squeeze(mean(YourGrid,1));
Time_Averaged_1degree_Grid = imresize(Time_Averaged_Grid, 1/4);
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!