MATLAB Function Reference
  Go to function:
    Search    Help Desk 
iscompat    

Check that two matrices have the same size

Syntax

Description

res=iscompat(a,b) checks if a and a have the same size. Unlike, size(a) == size(b), iscompat works if there are singleton dimension in one of the matrices and if the matrices have uncompatible sizes.



[ Help Desk ]