Rotate signal around midpoint

5 次查看(过去 30 天)
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?

采纳的回答

Chunru
Chunru 2021-7-8

更多回答(1 个)

Matt J
Matt J 2021-7-8
编辑:Matt J 2021-7-8
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);

Community Treasure Hunt

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

Start Hunting!

Translated by