Financial Time Series Toolbox | ![]() ![]() |
Financial time series matrix multiplication
Syntax
Arguments
Description
The mtimes
method multiplies element-by-element the components of one financial time series object by the components of the other. You can also multiply the entire object by an array.
If an object is to be multiplied by another object, both objects must have the same dates and data series names, although the order need not be the same. The order of the data series, when an object is multiplied by another object, follows the order of the first object.
newfts = tsobj_1 * tsobj_2
multiplies financial time series objects element-by-element.
newfts = tsobj * array
multiplies a financial time series object element-by-element by an array.
newfts = array * tsobj
newfts = array / tsobj
multiplies an array element-by-element by a financial time series object.
For financial time series objects, the mtimes
operation is identical to the times
operation.
See Also
![]() | mrdivide | negvolidx | ![]() |