How can I replace a pair of coordinates (x;y) in a table by values from a list of reference coordinates?
Afficher commentaires plus anciens
Hi,
I need your help to create a short script.
I have two series of data in Excel with pixel coordinate one for x and one for y, in two columns, for all existing spots counted in every location of a sample.
I aslo have some reference values selected for every unique pair of coordinates also (X;Z) in two columns, plus two extra columns for the corresponding absolute position on the sample (Abs_Len) and the relative position (Rel_Len).
I would like to create a new matrix of two columns that replace every pair of x;y by the corresponding Abs_Len and Rel_Len according to the reference columns X;Y.
Thansk for your help
1 commentaire
Antoni Garcia-Herreros
le 12 Avr 2023
Could you upload the Excel file?
Réponse acceptée
Plus de réponses (1)
Mathieu Petremann
le 12 Avr 2023
0 votes
Catégories
En savoir plus sur Structures 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!