bondprice

Calculates the bond price for future payments (coupons or fixed incomes). Depending on input, function can return scalar, vector or matrix

Arguments

  1. Number of periods (payments/incomes)
  2. Interest rate per period
  3. Value of periodic payment

Output

Bond price

Examples

bondprice