presentvalue
Calculates the present value of future payments. Depending on input, function can return scalar, vector or matrix
Arguments
- Number of payments
- Constant rate per period
- Constant payments
- 1 if payments are made on begining of period, 0 if made on end
Output
Present value
Examples