Rotate a line profile to remove the tilt (make it horizontal)
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Star Strider
il 16 Dic 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!