%% Compute the Price of a Short-Term Zero-Coupon Instrument
% This example shows how to compute the price of a short-term zero-coupon instrument.

Settle = '24-Jun-1993';
Maturity = '1-Nov-1993';
Period = 2;
Basis = 0;
Yield = 0.04;

Price = zeroprice(Yield, Settle, Maturity, Period, Basis)

% Copyright 2015 The MathWorks, Inc.