%% Calculate the Present Value of a Series of Equal Payments
% This example shows how to return the present value of a series of equal payments, where $200 is paid monthly into a savings account earning 6%. The payments are made at the end of the month for five years.

PresentVal = pvfix(0.06/12, 5*12, 200, 0, 0)

% Copyright 2015 The MathWorks, Inc.