Main Content

log2

Base 2 logarithm for financial time series object

log2 is not recommended. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.

Syntax

newfts = log2(tsobj)

Description

newfts = log2(tsobj) calculates the base 2 logarithm of the data series in a financial time series object tsobj. It returns another time series object newfts containing the logarithms.

Introduced before R2006a