%% Create a BDT Volatility Specification
% This example shows how to create a BDT volatility specification (VolSpec) using the following data.

ValuationDate = '01-01-2000';
EndDates = ['01-01-2001'; '01-01-2002'; '01-01-2003'; 
'01-01-2004'; '01-01-2005'];
Volatility = [.2; .19; .18; .17; .16];

BDTVolSpec = bdtvolspec(ValuationDate, EndDates, Volatility)

% Copyright 2015 The MathWorks, Inc.