An easy question from a beginner....the solving of this equation

조회 수: 1 (최근 30일)
carlo bertolazzi
carlo bertolazzi 2011년 7월 6일
Hello everybody....i'm just a beginner of mat-lab but i have to make some exercises for university....in the function "help" i did'nt find anytingh that could support to find the solution to this problem...i have to calculate the IRR (internal return rate)of this function
c_1/(1+tax_1+x) + c_2/(1+tax_2+x)^2 + c_3+M/(1+tax_3+x)^3 = price of bond
it's just a serie of coupons of a bond where i know:
c_1, c_2, c_3 = the coupons tax_1, tax_2, tax_3 = the different taxes at different times... the price of the coupon
i only have to calculate x...
thank you in advance carlo

답변 (1개)

Clemens
Clemens 2011년 7월 6일
Have a look at fzero.
help fzero
You can easily modify your equation to the one in the example.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by