%% Compute the Yield of a Short-Term Zero-Coupon Instrument Using a Day-Count Basis of 30/360 (SIA)
% This example shows how to compute the yield of a short-term zero-coupon instrument using a day-count basis of 30/360 (SIA).

Settle   = '24-Jun-1993';
Maturity = '1-Nov-1993';
Basis    = 1;
Price    = 95;

Yield = zeroyield(Price, Settle, Maturity, [], Basis)

% Copyright 2015 The MathWorks, Inc.