break even point analysis

조회 수: 6 (최근 30일)
Ruben Moreno
Ruben Moreno 2021년 3월 24일
답변: Zuber Khan 2024년 9월 24일
I have simulated prices in order to calculate the PV and NPV of a project, i have a fixed price and cost for the product. With this i want to calculate the value of the cash flow so that the NPV = 0.
Below is my current code. for every month the production and cost of the product is the same, the only thing that fluctuates is the simulated price which obviosly affects the CF each month.

답변 (1개)

Zuber Khan
Zuber Khan 2024년 9월 24일
Hi,
You can try using Financial Toolbox present in MATLAB in order to cater to your needs.
For instance, "pvvar" function can be used to calculate the present value of varying cash flow. You can refer to the following documentation to know more about it.
Further, Financial Toolbox provides a collection of financial tools to compute cash flows and sensitivities for annuities, amortization and depreciation, present and future value, and rates of return. Kindly follow the below mentioned documentation for more information.
Alternatively, if you want to proceed through analytical approach, then you need to adjust the cash flow values iteratively until the NPV is zero. This is typically done using a numerical method such as "Newton-Raphson" method. You can check out the following sections of symbolic Math Toolbox for related examples.
You can also search through the File Exchange forum for numerical solvers such as Newton-Raphson. For instance, following is one such resource that provides a demonstration of the "Newton-Raphson" method.
I hope it will help you to resolve this problem.
Regards,
Zuber

카테고리

Help CenterFile Exchange에서 Price and Analyze Financial Instruments에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by