MATLAB code

MATLAB code