![]() |
subsrefPURPOSE
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:
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 |