Where may I find documentation for the Day Count Convention actual/actual (basis value 0) from the Financial Toolbox

3 views (last 30 days)
Where may I find documentation for the Day Count Convention actual/actual (basis value 0 that is the default) from the Financial ToolBox? Cannot understand how the denominator is calculated. For example:
yearfrac('1 feb 2019', '1 apr 2020', 0) = (365+60)/365
yearfrac('1 mar 2019', '1 apr 2020', 0) = (366+31)/366
Thanks in advance!

Accepted Answer

Cris LaPierre
Cris LaPierre on 18 Jan 2021
I believe it's described on the yearfrac documentation page. An explanation of the basis input is found here.

More Answers (0)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!