Main Content

mtimes

Matrix product of fi objects

Syntax

mtimes(a,b)

Description

mtimes(a,b) is called for the syntax a * b when a or b is an object.

a * b is the matrix product of a and b. A scalar value (a 1-by-1 matrix) can multiply any other value. Otherwise, the number of columns of a must equal the number of rows of b.

mtimes 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.

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

Extended Capabilities

HDL Code Generation
Generate VHDL, Verilog and SystemVerilog code for FPGA and ASIC designs using HDL Coder™.

Version History

Introduced before R2006a

See Also

| | |