Matlab Sweep Function. The signal was generated using a waveform generator, but is s