Normalizing 3D coordinates: start in 0,0

I've got a long list of x,y,z-coordinates and I want the first one to be 0,0,0. The other coordinates should translate in a way that my plot of the coordinates remains the same. How can I make this happen?

답변 (1개)

Walter Roberson
Walter Roberson 2020년 5월 20일

0 개 추천

A(:, 2:end) = A(:, 2:end) - A(1,1:end) ;
This version of the code requires R2016b or later

카테고리

도움말 센터File Exchange에서 Polar Plots에 대해 자세히 알아보기

질문:

2020년 5월 20일

답변:

2020년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by