I have some code to calculate bond yield ("bndyield"), and I set up very similar code to calculate the same yield using the cash flow yield, "cfyield" function. For some reason, I am getting different results. What might be causing this?
MATLAB: Do “bndyield” and “cfyield” give different results
Financial Toolbox
Related Question
- Difference in values obtained from BNDYIELD in MATLAB and YIELD in EXCEL
- What is the meaning of FLOATBYZERO’s output argument PriceNoAI, in Financial Instruments Toolbox 1.0 (R2012b)
- Where can I find information on comparing Yield Quotations derived from the MATLAB Financial Toolbox to Yields from Other Vendors and Conventions
- Do I get an error of cash flow dates spanning across tree nodes using FLOATBYBK in the Financial Instruments Toolbox 1.0 (R2012b)
- What does the first cash flow value signify when I calculate the cash flows for a bond using cfamounts function in Financial Toolbox 4.1 (R2011b)
- Implied volatility with multiple discrete dividends
Best Answer