pos3D

版本 1.1.0.0 (2.8 KB) 作者: Roche de Guzman
Determines the coordinates p = [px py pz] in 3D space given p0, p1, and d
35.0 次下载
更新时间 2017/12/16

查看许可证

%% Determines the coordinates p = [px py pz] in 3D space given the
% initial position p0 and the projected final position p1 of a particle
% that has travelled D distance along that path... by Roche C. de Guzman (Dec. 16, 2017)
% Examples
% Inputs:
% p0 = [8 7 3]; % initial position
% p1 = [5 11 15]; % projected final position
% D = 13/2; % distance currently travelled
% Outputs:
% p = [6.5 9 9]; % current position
% D01 = 13; % distance between p0 and p1
% the01 = 67.3801; % angle formed from the xy-plane to p1
% psi01 = -36.8699; % angle formed from the y-axis of p0 to the xy-plane position of p1

引用格式

Roche de Guzman (2024). pos3D (https://www.mathworks.com/matlabcentral/fileexchange/65429-pos3d), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Updated p1 octant position.

1.0.0.0