pos3D

Determines the coordinates p = [px py pz] in 3D space given p0, p1, and d
35 Downloads
Aktualisiert 16 Dez 2017

Lizenz anzeigen

%% 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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Updated p1 octant position.

1.0.0.0