MATLAB Simulations and Code Samples