Robuta

https://www.mathworks.com/help/fininst/fitnelsonsiegelirfunctioncurve.html fitNelsonSiegel - Fit Nelson-Siegel function to bond market data - MATLAB This MATLAB function fits a Nelson-Siegel function to market data for a bond. bond market datafitnelsonsiegelfunction