Issue in the cfamounts() function from FinancialToolbox

조회 수: 2 (최근 30일)
Antonio Seabra
Antonio Seabra 2021년 2월 12일
편집: Antonio Seabra 2021년 2월 12일
Running
[CFlowAmounts, CFlowDates, TFactors, CFlowFlags, CFPrincipal] = cfamounts(CouponRate,Settle, Maturity, Period, Basis, 'PrincipalType', 'sinking')
one gets
CFPrincipal = [0 0 0 0 0 100]
This result is rather puzzling since one would expect that principal cash flows would be returned throughout the life of the bond, as stated in the documentation about cfamounts. However, the above result is what one would expect if the PrincipalType option selected was 'bullet' instead of 'sinking'. Thanks in advance!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Biological and Health Sciences에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by