I have one large matrix (64800×40) with an index number, latitude, longitude, and other data for the remaining columns.
Ex.
[ Index Lat Lon Data1 Data 2; 25102 -45.5 51.5 3 4; 25103 -45.5 52.0 4 7; 25104 -45.5 52.5 10 4; 25105 -45.5 53.0 12 2]
I've got another matrix with the same sort of data that I would like to use to replace particular rows in the first matrix. However, the second matrix is not the same size as the first (39×40).
Is there a script to run that would replace the data in the first matrix with the data from the second matrix? Perhaps using the index number?
Best Answer