%% Find the Amount Received at Maturity for a Fully-Vested Security
% This example shows how to find the amount received at maturity for a fully-vested security, using the following data.

Settle = '02/15/2001';
Maturity = '05/15/2001';
Price = 100;
Discount = 0.0575;
Basis = 2;

FutureVal = fvdisc(Settle, Maturity, Price, Discount, Basis)

% Copyright 2015 The MathWorks, Inc.