Institut de Robòtica i Informàtica Industrial

subsref

PURPOSE ^

Gets part of a interval matrix (operator: ()).

SYNOPSIS ^

function Iout=subsref(I,S)

DESCRIPTION ^

 Gets part of a interval matrix (operator: ()).

 Extracts a sub-matrix from an interval matrix, I.
 S provides information about the sub-matrix to recover.

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:

SOURCE CODE ^

0001 function Iout=subsref(I,S)
0002 % Gets part of a interval matrix (operator: ()).
0003 %
0004 % Extracts a sub-matrix from an interval matrix, I.
0005 % S provides information about the sub-matrix to recover.
0006 
0007   if strcmp(S.type,'()')
0008     Iout.lower=I.lower(S.subs{:});
0009     Iout.upper=I.upper(S.subs{:});
0010     [Iout.r Iout.c]=size(Iout.lower);
0011     Iout=class(Iout,'Interval');
0012   else
0013     error('Undefined subsref type');
0014   end
0015


Institut de Robòtica i Informàtica Industrial

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