Where may I find documentation for the Day Count Convention actual/actual (basis value 0) from the Financial Toolbox
3 views (last 30 days)
Show older comments
Antonio Seabra
on 18 Jan 2021
Commented: Antonio Seabra
on 18 Jan 2021
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!
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on Financial Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!