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

  


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