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:
• mpt_optInfControl MPT_OPTINFCONTROL Solves the infinite-time constrained optimal control problem for LTI systems
• mpt_mpqp MPT_MPQP Explicitly solves the given quadratic program (QP)

Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003