How to cut subarea on satellite wind global data.

1 回表示 (過去 30 日間)
Millo Marin
Millo Marin 2012 年 8 月 28 日
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!

採用された回答

Walter Roberson
Walter Roberson 2012 年 8 月 29 日
編集済み: Walter Roberson 2012 年 8 月 29 日
w(lat >= 15 & lat <= 20, long >= -110 & long <= -105)
  1 件のコメント
Millo Marin
Millo Marin 2012 年 8 月 30 日
thanks a lot! It worked perfectly.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSatellite and Orbital Mechanics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by