Home > distances > calculateGapDistance.m
Compute the Gap distance between dynamical systems
function dist = calculateGapDistance(varargin)
Compute the Gap distance between dynamical systems
INPUTS
Takes variable inputs of the type:
option 1 - (angles) - all-pair subspace angles [numAngles x N xN] between
systems
option 2 - (system1, system2) - two system parameters
option 3 - (system1, system2, metricParams) - two system parameters
and custom values for metric properties
OUTPUTS
dist - distance between two systems or all-pair Gap distance
matrix [N x N]
EXAMPLE
sa = subspaceAnglesAR(sysParamsCellArray);
dist = calculateGapDistance(sa);
% Written by : Rizwan Chaudhry and Avinash Ravichandran
% $DATE : 27-Jul-2011 12:05:37 $
% $REVISION : 1.00 $
This function calls:
This function is called by: