Skip to Main Content Skip to Search
Product Documentation

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.

See Also

mtimes | plus | times | uminus

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS