| Financial Toolbox | Search  Help Desk |
| yldmat | Examples See Also |
Yield with interest at maturity.
Syntax
y = yldmat(sd, md, id, rv, price, cpn, basis) y = yldmat(sd, md, id, rv, price, cpn)
Arguments
sdsd must be earlier than or equal to md.mdidrvpricecpnbasis0 = actual/actual (default), 1 = 30/360,2 = actual/360, 3 = actual/365.Description
y = yldmat(sd, md, id, rv, price, cpn, basis)
returns the yield of a security paying interest at maturity.
Example
Using the datasd = '02/07/1992'; md = '04/13/1992'; id = '10/11/1991'; rv = 100; price = 99.98; cpn = 0.0608; basis = 1; y = yldmat(sd, md, id, rv, price, cpn, basis)returns
y =
0.0607 (or 6.07%)
See Also
acrubond, prbond, prmat, yldbond, ylddisc, yldoddf, yldoddfl,
yldoddl, yldtbill
Reference
Mayle, Standard Securities Calculation Methods, Volumes I-II, 3rd edition. Formula 3.