%% Create a Fixed-Rate Instrument
% Define the characteristics of the fixed-rate instrument.

CouponRate = .03;
Settle = datenum('15-Mar-2013');
Maturity = datenum('15-Mar-2018');
FixedReset = 4;
Basis = 1;
Principal = 1000;
EndMonthRule = 1;

%
% Create the new cap instrument.

ISet = instfixed(CouponRate, Settle, Maturity, FixedReset, Basis, Principal,EndMonthRule)

%
% Display the fixed-rate instrument.

instdisp(ISet)

% Copyright 2015 The MathWorks, Inc.