Home > freetb4matlab > financial > nper.m

nper

PURPOSE ^

% Return the number of regular payments of @var{p} necessary to

SYNOPSIS ^

function n = nper (r, p, a, l, m)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} nper (@var{r}, @var{p}, @var{a}, @var{l}, @var{method})
% Return the number of regular payments of @var{p} necessary to
% amortize @var{a} loan of amount @var{a} and interest @var{r}.
%
% The optional argument @var{l} may be used to specify an additional
% lump-sum payment of @var{l} made at the end of the amortization time.
%
% The optional argument @var{method} may be used to specify whether
% payments are made at the end (@var{'e'}, default) or at the beginning
% (@var{'b'}) of each period.
%
% Note that the rate @var{r} is specified as a fraction (i.e., 0.05,
% not 5 percent).
% @seealso{pv, pmt, rate, npv}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003