*

Multiplication operator.

Syntax

R = A * B

Inputs

A, B
Type: double | integer | char | string | log
Dimension: scalar | vector | matrix

Outputs

R
The product.

Examples

Scalar example.
R = 2 * 4
R = 8
Matrix example:
R = [2,1;3,1] * [1,2;3,4]
R = [Matrix] 2 x 2
5   8
6  10

Comments

Please refer to User Guide for more information on combinations of operands.