How can I replace a pair of coordinates (x;y) in a table by values from a list of reference coordinates?
Show older comments
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 Comment
Antoni Garcia-Herreros
on 12 Apr 2023
Could you upload the Excel file?
Accepted Answer
More Answers (1)
Mathieu Petremann
on 12 Apr 2023
0 votes
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!