Square wave generator similar to dsp.SineWave
27 views (last 30 days)
Show older comments
I know squarewave() function, but I would like to know is there an equivalent system object square wave generator, just like dsp.SineWave so I can generate 1024 samples per loop for demodulation purposes in streaming processing of audio signals.
Thanks
2 Comments
Accepted Answer
Gabriele Bunkheila
on 9 Jan 2019
Please take a look at audioOscillator in Audio System Toolbox, which can generate sine, square, and sawtooth waveforms.
More Answers (0)
See Also
Categories
Find more on Signal Generation, Manipulation, and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!