# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

# Arithmetic and Math Operations

Perform addition, subtraction, multiplication, division, logarithmic, and exponential operations on time series objects

## Functions

 `cumsum` Cumulative sum `end` Last date entry `horzcat` Concatenate financial time series objects horizontally `length` Get number of dates (rows) `minus` Financial time series subtraction `mrdivide` Financial time series matrix division `mtimes` Financial time series matrix multiplication `plus` Financial time series addition `power` Financial time series power `rdivide` Financial time series division `size` Number of dates and data series `subsasgn` Content assignment `subsref` Subscripted reference `times` Financial time series multiplication `uminus` Unary minus of financial time series object `uplus` Unary plus of financial time series object `vertcat` Concatenate financial time series objects vertically
 `cumsum` Cumulative sum `exp` Exponential values `hist` Histogram `log` Natural logarithm `log10` Common logarithm `log2` Base 2 logarithm `max` Maximum value `mean` Arithmetic average `min` Minimum value `std` Standard deviation

## Topics

Financial Time Series Operations

Time series operations include basic addition, subtraction, multiplication, and division and other functions such as arithmetic average, filter, and difference.

Using Time Series to Predict Equity Return

This example shows a practical use of financial time series objects, predicting the return of a stock from a given set of data.