Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How can I find index from the cell array and then extract desired value from it.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
Jeremy
le 28 Jan 2020
Modifié(e) : Jeremy
le 28 Jan 2020
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.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!