subsrefPURPOSEReturns a section of the trajectory (operator: {}).
SYNOPSISfunction P=subsref(T,S)
DESCRIPTIONReturns a section of the trajectory (operator: {}). Retrives a sub-set of the poses from the trajectory. The poses to retrive are indicated by S. The return is in the form of an cell array of poses. CROSS-REFERENCE INFORMATIONThis function calls:SOURCE CODE0001 function P=subsref(T,S) 0002 % Returns a section of the trajectory (operator: {}). 0003 % 0004 % Retrives a sub-set of the poses from the trajectory. The poses to 0005 % retrive are indicated by S. 0006 % The return is in the form of an cell array of poses. 0007 0008 if strcmp(S.type,'{}') 0009 P=T.data{S.subs{:}}; 0010 end |