필터 지우기
필터 지우기

Orientation of axes to a best-fit plane

조회 수: 1 (최근 30일)
Animesh Anand
Animesh Anand 2023년 7월 19일
댓글: Animesh Anand 2023년 7월 27일
I had .xyz data. I fiited the data to a best-fit plane. Now I want to rotate the axes such that the best-fit plane lies on xy plane (z=0). Is there any way i can do it ?
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2023년 7월 20일
why not simply retrieve the z data of your fit plane to the z data of your experimental data ?
you may need to interpolate the plane z coordinates to the x,y experimental data coordinates

댓글을 달려면 로그인하십시오.

답변 (1개)

Pranjal Saxena
Pranjal Saxena 2023년 7월 25일
Hi Animesh,
I understand that you want to rotate the axes such that this best-fit plane lies on xy plane (z=0).
I would like to suggest you use “rotate” to rotate the best-fit plane accordingly.
You can refer to the following MATLAB Documentation for more information about how to rotate object about specified origin and direction:
I hope this helps you.
Warm Regards,
Pranjal.
  댓글 수: 1
Animesh Anand
Animesh Anand 2023년 7월 27일
If i use 'rotate', it will only rotate the best-fit plane not the whole thing. But the distance of fit plane from the xyz points will get changed. What I want here is to rotate the axes so that other things remain as it is.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by