# NOT RUN {
# }
# NOT RUN {
A square wave signal
# }
# NOT RUN {
sig <- gensig('square', 4, 10, 0.1)
plot(sig$t, sig$u, type = "l", col = "blue")
grid(5,5, col = "lightgray")
# }
# NOT RUN {
A sine wave signal
# }
# NOT RUN {
sig <- gensig('sin')
plot(sig$t, sig$u, type = "l", col = "blue")
grid(5,5, col = "lightgray")
# }
Run the code above in your browser using DataLab