We illustrate results from Chapter 7 of Financial Modelling by Joerg Kienitz and Daniel Wetterau.
This covers the Broadie Kaya exact sampling for the Heston model as well as the Unbiased sampling from the SABR model by Chen, van der Weide and Oosterlee.
Kienitz Wetterau FinModelling (2020). Heston and SABR Unbiased Schemes (https://www.mathworks.com/matlabcentral/fileexchange/37619-heston-and-sabr-unbiased-schemes), MATLAB Central File Exchange. Retrieved .