%% Calculate the Price for a Treasury Bill
% This example shows how to return the price for a Treasury bill, where the settlement date of a Treasury bill is February 10, 2002, the maturity date is August 6, 2002, the discount rate is 3.77%, and the par value is $1000.

Price = prtbill('2/10/2002', '8/6/2002', 1000, 0.0377)

% Copyright 2015 The MathWorks, Inc.