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

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

Answers (1)

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.

This question is closed.

Tags

Asked:

on 28 Jan 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!