MATLAB Function Reference | Search  Help Desk |
iscompat |
Check that two matrices have the same size
Syntax
res=iscompat(a,b)
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.