How to shift the origin of a Point Cloud

3 Ansichten (letzte 30 Tage)
Shaurab Show
Shaurab Show am 4 Apr. 2021
Bearbeitet: Image Analyst am 4 Apr. 2021
Hi,
I am a beginner at Matlab and would like some suggestion regarding how to shift the origin of a point cloud to a desired point.
Thanks in advance.
PS: I looked into 'Plot3AxisAtOrigin' but it gives error of function not found.

Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Apr. 2021
Bearbeitet: Image Analyst am 4 Apr. 2021
How about just adding a constant to the x and y vectors. Like to shift it by 5 in the x direction and 7 in the y direction
x = x + 5;
y = y + 7;

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by