Home > biomechZoo > Toolbox > KineMat > kinematangle2d.m

kinematangle2d

PURPOSE ^

function [alpha]=angle2d(data)

SYNOPSIS ^

function [alpha]=kinematangle2d(data)

DESCRIPTION ^

 function [alpha]=angle2d(data)
 Description:  Calculates the angle between 2 vectors (given by pairs of points)
               in 2 dimensions.
 Input:        data:   data = [P1x P1y P2x P2y P3x P3y P4x P4y]
               Note that "data" can have several rows (e.g. different time
        points).
 Output:       alpha:  angle (in deg) between the vectors P1-P2 and P3-P4
 Author:       Christoph Reinschmidt, HPL, The University of Calgary
 Date:         October, 1994
 Last Changes: November 28, 1996
 Version:    1.0

CROSS-REFERENCE INFORMATION ^

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