imat_result/uminus


Purpose

Unary minus (-r).

Syntax

-r

Description

Taking the negative of an imat_result object causes all data values to be replaced with their negatives.

Examples

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

See Also

imat_result/uplus