%% Compute the Time Factor of a Cash Flow
% This example shows how to calculate a cash flow time factor.

Settle = '15-Mar-1997';
Maturity = '01-Sep-1999';
Period = 2;
TFactors = cftimes(Settle, Maturity, Period)

% Copyright 2015 The MathWorks, Inc.