Home > biomechZoo > Toolbox > KineMat > distance_kinemat.m

distance_kinemat

PURPOSE ^

function [dist]=distance(XYZmarker1,XYZmarker2)

SYNOPSIS ^

function dist = distance_kinemat(XYZmarker1,XYZmarker2)

DESCRIPTION ^

 function [dist]=distance(XYZmarker1,XYZmarker2)
 Description:    Calculates the distance between two markers.
 Input:    XYZmarker1: [X,Y,Z] coordinates of marker 1
        XYZmarker2: [X,Y,Z] coordinates of marker 2
        Note: The distances are calculated for each row
 Output:    distance
 Author:    Christoph Reinschmidt, HPL, The University of Calgary
 Date:        November, 1996
 Last Changes:    November 29, 1996
 Version:    1.0

 Updated by Philippe C. Dixon June 25th, 2021
 - replaced break statement in if loop for an error raise
 - cleaned up code to remove matlab syntax warnings


 See also magnitude

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005