%% Calculate the After-Tax Rate of Return
% This example shows how to calculate the after-tax rate of return, given an investment that has a 12% nominal rate of return and is taxed at a 30% rate.

Return = taxedrr(0.12, 0.30)

% Copyright 2015 The MathWorks, Inc.