This is illustrating material for chapter 4 of the Wiley Finance book "Financial Modelling: Theory, Implementation and Practice with MATLAB Source" by Kienitz and Wetterau.
We consider a local stochastic volatility Libor Market model. The local volatility of displaced diffuison type and the stochastic volatility is of Heston type. This is combined with a term structure of volatility and a flexible correlation structure (both in parametric form). The model allows for time dependent displacement.
We provide an analytic solution to the problem which is very fast and can be used for calibration of such an advanced model to market quotes.
Kienitz Wetterau FinModelling (2020). CMS Spread Caps Stochastic Local Volatility Libor Market Model (https://www.mathworks.com/matlabcentral/fileexchange/36812-cms-spread-caps-stochastic-local-volatility-libor-market-model), MATLAB Central File Exchange. Retrieved .
Inspired by: 2D Simpson's Integrator