Open scope and paste this script into the
command window.
Then press <Ctrl + R> to plot the "square: wave
Select "Wavelet time to wave"
from the Complex menu to view the result.
Notice that the waveplot_t plot is used
to hold the transform results. Wave space is real, there isn't
a complex part.
set units = rad
pi =4*atan(1)
numpoints = 1000
time = (vector(numpoints)/(numpoints-1)*10m)
newplot waveplot time
setplot waveplot
y = sin(2*pi*time*1k)
y = y + sin(2*pi*time*3k)/3
y = y + sin(2*pi*time*5k)/5
y = y * (1 - cos(2*pi*time/10m))
plot y
homecursors
set units = deg |