minus

Matrix difference between fi objects

Syntax

minus(a,b)

Description

minus(a,b) is called for the syntax a - b when a or b is an object.

a - b subtracts matrix b from matrix a. a and b must have the same dimensions unless one is a scalar value (a 1-by-1 matrix). A scalar value can be subtracted from any other value.

minus does not support fi objects of data type Boolean.

Note

For information about the fimath properties involved in Fixed-Point Designer™ calculations, see fimath Properties Usage for Fixed-Point Arithmetic and fimath ProductMode and SumMode in the Fixed-Point Designer User's Guide.

For information about calculations using Fixed-Point Designer software, see the Fixed-Point Designer documentation.

Extended Capabilities

See Also

| | |

Introduced before R2006a