Writting signal from waveform | signals and systems