Rotate a line profile to remove the tilt (make it horizontal)
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
CS
am 15 Dez. 2020
Kommentiert: Star Strider
am 17 Dez. 2020
I have a profile of a line like below

I want to rotate the file to horizontal like below

Any idea how I can do that?
Actually, the above situation is just a simple example; I want to rotate the below line to horizontal:

Any idea would be appreciated!
0 Kommentare
Akzeptierte Antwort
Star Strider
am 16 Dez. 2020
Use the detrend function. Specifically see the documentation section on Continuous Linear Trend , although other examples may be relevant, depending on the result you want.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!