Rotate signal around midpoint

5 visualizzazioni (ultimi 30 giorni)
Konvictus177
Konvictus177 il 8 Lug 2021
Modificato: Matt J il 8 Lug 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?

Risposta accettata

Chunru
Chunru il 8 Lug 2021

Più risposte (1)

Matt J
Matt J il 8 Lug 2021
Modificato: Matt J il 8 Lug 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);

Community Treasure Hunt

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

Start Hunting!

Translated by