%% Find the Yield for a Treasury Bill
% This example shows how to return the yield for a Treasury bill, given the settlement date of a Treasury bill is February 10, 2000, the maturity date is August 6, 2000, the par value is $1000, and the price is $981.36.

Yield = yldtbill('2/10/2000', '8/6/2000', 1000, 981.36)

% Copyright 2015 The MathWorks, Inc.