Products & Services Solutions Academia Support User Community Company

Learn more about Financial Toolbox   

beytbill - Bond equivalent yield for Treasury bill

Syntax

Yield = beytbill(Settle, Maturity, Discount)

Arguments

Settle

Enter as serial date numbers or date strings. Settle must be earlier than or equal to Maturity.

Maturity

Enter as serial date numbers or date strings.

Discount

Discount rate of the Treasury bill. Enter as decimal fraction.

Description

Yield = beytbill(Settle, Maturity, Discount) returns the bond equivalent yield for a Treasury bill.

Examples

The settlement date of a Treasury bill is February 11, 2000, the maturity date is August 7, 2000, and the discount rate is 5.77%. The bond equivalent yield is

Yield = beytbill('2/11/2000', '8/7/2000', 0.0577)

Yield =
        0.0602

See Also

datenum, prtbill, yldtbill

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS