combining information of 2 cells
Mostrar comentarios más antiguos
Hello,
I have a reference cell(ref) which contains many postal codes and the corresponding geographic coordinate for each postal code. I wish to find the geographic coordinate for each postal code in cell A by using ref Cell. So I want to get B. Is there any way to do it *without making loop * over the elements in A?
ref={{'m3m1f1';'y9h5g5';'u8h1h5'} {50.00;50.44;30.98}}
A={{'y9h5g5';'m3m1f1'}}
B={{50.44;50.00}}
thanks in advance!
1 comentario
Matt Fig
el 11 de Sept. de 2012
Your ref cell looks wrong. You have 3 postal codes but 4 coordinates. Please correct this and post something I can copy/paste into the command window without editing...
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!