Effacer les filtres
Effacer les filtres

How to cut subarea on satellite wind global data.

2 vues (au cours des 30 derniers jours)
Millo Marin
Millo Marin le 28 Août 2012
Hi to everyone... I have satellite wind data covering the globe, in form of a matrix of latitude x longitude dimension... I want to extract some of the data of the matrix, a squared region of the wind data, let's say a square (sub-area) with in betwneen 20 ° and 15 ° N and -110° and -105 °w.. any ideas on how to index these data? I know that w(lat>=20) will give me the value of w (wind speed) for latitudes 20° and more, but how to I write the code for logical indexing that squared area? Thank you!

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Août 2012
Modifié(e) : Walter Roberson le 29 Août 2012
w(lat >= 15 & lat <= 20, long >= -110 & long <= -105)
  1 commentaire
Millo Marin
Millo Marin le 30 Août 2012
thanks a lot! It worked perfectly.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by