MATLAB Answers

find the 3D coordinate of point with condition

5 views (last 30 days)
ha ha
ha ha on 13 May 2018
Edited: ha ha on 9 Feb 2019
Let's say: I have point A(1,1,1) in 3D space OXYZ, and vector n(1,2,3). How can i find the coordinate point B satifying the condition:
1/ Distance between A & B is: 10
2/ B lie on vector n

  0 Comments

Sign in to comment.

Accepted Answer

Matt J
Matt J on 13 May 2018
Edited: Matt J on 13 May 2018
B=A+10*n/norm(n);
or
B=A-10*n/norm(n);

  0 Comments

Sign in to comment.

More Answers (0)

Tags