imat_shp/uminus


Purpose

Unary minus (-s).

Syntax

-s

Description

Taking the negative of an imat_shp object causes all shape coefficients to be replaced with their negatives.

Examples

>> for k=1:length(s)
    if -min(s(k).shape) > max(s(k).shape), s(k)=-s(k); end
end
>>

See Also

imat_shp/uplus