Model for calculating discounted payback period given a cash flow

조회 수: 5 (최근 30일)
Ajay Gupta
Ajay Gupta 2021년 11월 6일
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