Main Content


Natural logarithm for financial time series object

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


newfts = log(tsobj)


newfts = log(tsobj) calculates the natural logarithm (log base e) of the data series in a financial time series object tsobj. It returns another time series object, newfts, containing the natural logarithms.

Introduced before R2006a