Rotate signal around midpoint

1 view (last 30 days)
Konvictus177
Konvictus177 on 8 Jul 2021
Edited: Matt J on 8 Jul 2021
Hello,
I have taken measurement with a laserscanner (profilometer). It seems that the profilometer was not aligned properly to the object.
How can I rotate the following signal around the midpoint in such a way that it simulates a perfectly aligned laserscanner.
The blue line is my measured signal. The red line is what I want.
Can is use normalization, median, mean, etc...do get the signal I want?

Accepted Answer

Chunru
Chunru on 8 Jul 2021

More Answers (1)

Matt J
Matt J on 8 Jul 2021
Edited: Matt J on 8 Jul 2021
If the red curve and blue curve consist of corresponding point pairs, then you can use absor,
to roto-align them.
[~,~,result]=absor(blue,red);

Categories

Find more on Install Products 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!