Financial Time Series | ![]() ![]() |
Financial time series multiplication
Syntax
newfts = tsobj_1 .* tsobj_2 newfts = tsobj .* array newfts = array .* tsobj
Arguments
tsobj |
Financial time series object |
array |
A scalar value or array with number of rows equal to the number of dates in tsobj and number of columns equal to the number of data series in tsobj . |
Description
The times
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.
For financial time series objects, the times
operation is identical to the mtimes
operation.
See Also
![]() | subsref | toannual | ![]() |