Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I find index from the cell array and then extract desired value from it.

1 回表示 (過去 30 日間)
Farshid Daryabor
Farshid Daryabor 2020 年 1 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
can anybody help to find index from the cell array (attached) and then extract desired value from it. For example, I am looking for values (temp_glb) in between lon_glb[28 45], and lat_glb[40 49]. Thanks

回答 (1 件)

Jeremy
Jeremy 2020 年 1 月 28 日
編集済み: Jeremy 2020 年 1 月 28 日
Hi,
Normally this would be easy using cell2mat because it appears each entry of the cell is meant to be a 1x3 array. However, lat_glb(44) is a 1x4 array and lat_glb(45) is a 1x2 array. Are one of the numbers in cell 44's array meant to be in cell 45's array?
The same is true for lon_glb.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by