How to match the values at two different columns in matlab

1 vue (au cours des 30 derniers jours)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya le 30 Nov 2017
Commenté : Andrei Bobrov le 30 Nov 2017
I have some value like this
lon lat elevation
77.75 32.075 5826
77.75 31.775 5444
77.85 31.875 5406
77.6 32.125 5378
77.7 31.725 5353
77.65 31.875 5317
77.55 32.025 5271
77.65 32.075 5251
77.6 31.875 5233
77.5 31.925 5233
77.6 32.025 5205
And I have two different column of lon and lat where lon and lat are the same as previous but in different order
if true
% code
end
lon lat temperature
77.65 32.075 23
77.6 32.025 45
77.65 31.875 34
77.65 32.075 23
77.75 31.775
. . .
. . .
. . .
.
I want a table like this
lon lat elevation Temperature
77.75 32.075 5826 23
77.75 31.775 5444 45
77.85 31.875 5406 .
77.6 32.125 5378 .
77.7 31.725 5353
77.65 31.875 5317 .
77.55 32.025 5271 .
77.65 32.075 5251 .
77.6 31.875 5233 .
77.5 31.925 5233 .
77.6 32.025 5205 .
How to solve it? Can anyone help me?
  1 commentaire
Andrei Bobrov
Andrei Bobrov le 30 Nov 2017
please attach small part of your data as mat file.

Connectez-vous pour commenter.

Réponse acceptée

the cyclist
the cyclist le 30 Nov 2017
Modifié(e) : the cyclist le 30 Nov 2017
If you can store the variables in a table, then you could use the join command.

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by