%% Create Two Cap Instruments
% Create a new instrument variable with the following information:

Strike = [0.035; 0.045];
Settle= 'Jan-1-2013'; 
Maturity = 'Jan-1-2014'; 
Reset = 1;
Basis = 1;
Principal = 1000;

%
% Create the new cap instruments.

InstSet = instcap(Strike, Settle, Maturity, Reset, Basis, Principal)

%
% Display the cap instruments.

instdisp(InstSet)

% Copyright 2015 The MathWorks, Inc.