Matlab code to visualize output from the hybrid code