Home > hfrc > matlab > utility > perimetr.m

perimetr

PURPOSE ^

PERIMETER Perimeter (length) of a polygon.

SYNOPSIS ^

function p = perimetr(x,y)

DESCRIPTION ^

 PERIMETER Perimeter (length) of a polygon.
    P = PERIMETR(X,Y) Returns perimeter (length) 
    of a polygon (or a sequence of line segments)
    defined by coordinates X,Y (vectors of equal length).
    For closed polygons must be X(1) = X(length(X)) and
    Y(1) = Y(length(Y)).
    PERIMETR(X+i*Y) is the same as PERIMETR(X,Y).

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003