Rotate a line profile to remove the tilt (make it horizontal)
조회 수: 11 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2020년 12월 16일
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!