irr
Internal rate of return
Description
calculates the internal rate of return for a series of periodic cash flows.Return
= irr(CashFlow
)
irr
uses the following conventions:
If one or more internal rates of returns (warning if multiple) are strictly positive rates,
Return
sets to the minimum.If there is no strictly positive rate of returns, but one or multiple (warning if multiple) returns are nonpositive rates,
Return
sets to the maximum.If no real-valued rates exist,
Return
sets toNaN
(no warnings).
Examples
Input Arguments
Output Arguments
References
[1] Brealey and Myers. Principles of Corporate Finance. McGraw-Hill Higher Education, Chapter 5, 2003.
[2] Hazen G. “A New Perspective on Multiple Internal Rates of Return.” The Engineering Economist. Vol. 48-1, 2003, pp. 31–51.
Version History
Introduced before R2006a