Model for calculating discounted payback period given a cash flow

5 次查看(过去 30 天)
Hello,
I am trying to convert a 8030 x 1000 matrix of non-uniform cash flows (1000 cash flows over 8030 days, with stochastic daily profits) into a distribution of discounted payback periods in years. Does anyone have a code for something like that?
I cannot find a code for discounted payback period either.
Steps I imagine include applying a discount rate (10%) to the non-uniform cash flow to get discounted cash flow in each column. Then some "if and then" conditions to calculate the payback period for each column? From there the Distribution Fitter App can do the rest.
Has anyone done this before?
Thanks in advance!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Verification, Validation, and Test 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by