MATLAB code that outputs pixels in the appropriate orientation. Set up for 4Hz.