Home > mpt > extras > auxiliary > mpt_iscombequal.m

mpt_iscombequal

PURPOSE ^

MPT_ISCOMBEQUAL Are two vectors combinatorially equal

SYNOPSIS ^

function [isequal] = mpt_iscombequal(vector1,vector2)

DESCRIPTION ^

MPT_ISCOMBEQUAL Are two vectors combinatorially equal

[isequal] = mpt_iscombequal(vector1,vector2)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Checks if two vectors are combinatorially equal
 e.g. [1 2 3] and [2 3 1] would return true, since all elements are identical

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 vector1, vector2   - vectors

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 isequal  - 1 if vectors are combinatorially equal, 0 otherwise

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003