Institut de Robòtica i Informàtica Industrial

IsInside

PURPOSE ^

Checks if a point is inside an interval.

SYNOPSIS ^

function ii=IsInside(I,v)

DESCRIPTION ^

 Checks if a point is inside an interval.

 Returns true if a point, v, is inside the given interval, I.

 Real matrix and interval matrices are also valid as inputs.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • size Number of poses in a trajectory.
  • size Size of the state estimated in the filter
  • size Size (rows/columns) of an interval matrix.
  • size Number of parameters of the pose.
  • size Number of readings stored in the Sensor.
This function is called by:
  • Distance Distance of a point to an interval matrix.

SOURCE CODE ^

0001 function ii=IsInside(I,v)
0002 % Checks if a point is inside an interval.
0003 %
0004 % Returns true if a point, v, is inside the given interval, I.
0005 %
0006 % Real matrix and interval matrices are also valid as inputs.
0007 
0008   ii=(size(find(I.lower>v),1)==0)&&(size(find(I.upper<v),1)==0);


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003