How to inner join two matrices?
Afficher commentaires plus anciens
I have following two matrices of data that contain three columns each, first two columns are GPS data (latitude, longitude) and the third value is elevation angle. I would like to inner join both tables based on their GPS values to calculate the difference in elevation angle between the two matrices. Here is an example;
tbl1 = [
28.057 -80.621 25.3
......];
tbl2 = [
28.057 -80.624 20.6
28.057 -80.621 20.62
.....];
tbl3 should look like the following:
tbl3 = [
28.057 -80.621 25.3 20.6 4.7];
Any idea on how to join these tables? Cheers!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Cell Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!