MatlabSoundPulseGenerator Generate a sound pulse of selected amplitude, frequency and periodic time. Also Plots the sound wave