Mercurial > octave-nkf
comparison scripts/finance/pmt.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | ec8c33dcd1bf |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
26 ## lump-sum payment. | 26 ## lump-sum payment. |
27 ## | 27 ## |
28 ## The optional argument @var{method} may be used to specify whether | 28 ## The optional argument @var{method} may be used to specify whether |
29 ## payments are made at the end (@var{"e"}, default) or at the beginning | 29 ## payments are made at the end (@var{"e"}, default) or at the beginning |
30 ## (@var{"b"}) of each period. | 30 ## (@var{"b"}) of each period. |
31 ## @seealso{pv, nper, rate} | |
31 ## @end deftypefn | 32 ## @end deftypefn |
32 ## | |
33 ## @seealso{pv, nper, and rate} | |
34 | 33 |
35 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> | 34 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> |
36 ## Description: Amount of periodic payment needed to amortize a loan | 35 ## Description: Amount of periodic payment needed to amortize a loan |
37 | 36 |
38 function p = pmt (r, n, a, l, m) | 37 function p = pmt (r, n, a, l, m) |