| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Financial Toolbox |
| Contents | Index |
| Learn more about Financial Toolbox |
newfts = tsobj .^ array newfts = array .^tsobj newfts = tsobj_1 .^ tsobj_2
tsobj | Financial time series object. |
array | Scalar value or array with the number of rows equal to the number of dates in tsobj and the number of columns equal to the number of data series in tsobj. |
tsobj_1, tsobj_2 | Pair of financial time series objects. |
newfts = tsobj .^ array raises all values in the data series of the financial time series object tsobj element by element to the power indicated by the array value. The results are stored in another financial time series object newfts. The newfts object contains the same data series names as tsobj.
newfts = array .^ tsobj raises the array values element by element to the values contained in the data series of the financial time series object tsobj. The results are stored in another financial time series object newfts. The newfts object contains the same data series names as tsobj.
newfts = tsobj_1 .^ tsobj_2 raises the values in the object tsobj_1 element by element to the values in the object tsobj_2. The data series names, the dates, and the number of data points in both series must be identical. newfts contains the same data series names as the original time series objects.
![]() | posvolidx | prbyzero | ![]() |
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |