signal analyzer script with GUI in MATLAB