How to keep rows including a specific name in structure and remove everything else within the structure?
12 views (last 30 days)
Wolfgang McCormack on 13 Mar 2021
I have a shape file (shp) that is read as a structure within MATLAB. It is a 2540x1 struc in the worksapce. One of its columns is character type. chr. I want to find a few names in it like 'Malta', keep the entire row that includes the Malta and then remove all other rows. Could you please teach me how to do that?