*

Operators ››
Parent Previous Next

* /

z = x * y

z = x / y

Arithmetic Multiplication or Division

Commutative

Yes for * No for /

Data Types

Allowed

Not allowed

SCAL, VCT, AUD, TEXT, TSEQ, NUL

CLASS, CELL

x

y

z

NUL

anything

anything

SCAL

anything

anything

VCT

VCT

VCT (see below)

VCT

AUD

AUD (see below)

TSEQ

AUD

AUD (special meaning; see below)

TSEQ

VCT

TSEQ

Notes

  • In essence, this is "dot-multiplication," in the MATLAB language.
  • In the case of SCAL * VCT or SCAL * AUD, the scalar is applied (multiplied) to the entire array.
  • In the case of VCT * VCT, if the lengths of operands are different, the operation takes place until the two values are available.
  • In the case of VCT * AUD, if the lengths of operands are different, the operation takes place until the two values are available.
  • In the case of AUD * AUD, the operation is time-based: i.e., if the signal is available at the particular time, the operation takes place.
  • In the case of SCAL * TSEQ, the operation applies to the value of the TSEQ: i.e., the output TSEQ has the value multiplied by SCAL at each time point.
  • In the case of TSEQ * TSEQ, both must have the same number of time points (individual time points don't need to be the same).
  • TSEQ * AUD multiplies each value of the audio signal with a linear interpolated version of TSEQ (see example below).
  • When both operands are grouped (i.e., matrix), both must have the equal number of groups(i.e., rows)

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor