Main Content


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.


newfts = log2(tsobj)


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