This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

annurate

Periodic interest rate of annuity

Syntax

Rate = annurate(NumPeriods,Payment,PresentValue)
Rate = annurate(___,FutureValue,Due)

Description

example

Rate = annurate(NumPeriods,Payment,PresentValue) returns the periodic interest rate paid on a loan or annuity.

example

Rate = annurate(___,FutureValue,Due) specifies options using one or more optional arguments in addition to the input arguments in the previous syntax.

Examples

collapse all

This example shows how to find the periodic interest rate of a four-year, $5000 loan with a $130 monthly payment made at the end of each month.

Rate = annurate(4*12, 130, 5000, 0, 0)
Rate = 0.0094

Rate multiplied by 12 gives an annual interest rate of 11.32% on the loan.

Input Arguments

collapse all

Number of payment periods, specified as a scalar numeric.

Data Types: double

Payment per period, specified as a scalar numeric.

Data Types: double

Present value of the loan, specified as a scalar numeric.

Data Types: double

(Optional) Future value of the loan, specified as a scalar numeric.

Data Types: double

(Optional) When payments are due, specified as a scalar integer with value of 0 (end of period) or 1 (beginning of period).

Data Types: double

Output Arguments

collapse all

Periodic interest-rate paid of a loan or annuity, returned as a scalar numeric decimal.

Introduced before R2006a