added scripts 2 generate MATLAB data