www.gusucode.com > fininst 案例源码程序 matlab代码 > fininst/CreateaFloorInstrumentExample.m

    %% Create a Floor Instrument  

% Copyright 2015 The MathWorks, Inc.


%% 
% Define the characteristics of the floor instrument. 
Strike = 0.22;
Settle = datenum('15-Mar-2013');
Maturity = datenum('15-Mar-2018');
Reset = 4;
Basis = 1;
Principal = 1000;  

%% 
% Create the new floor instrument. 
ISet = instfloor(Strike, Settle, Maturity, Reset, Basis, Principal)  

%% 
% Display the floor instrument. 
instdisp(ISet)