Generating Square Wave in Matlab
Show older comments
Hi,
I intend to generate a square wave by Matlab simulation with this characteristic:
- 20 kHz, - amplitude between 0 and 1, - it is able to be shifted.
Then, I am going to convert the square wave to a DSP board. Therefore, I have to use discrete time blocks. Because the continues time blocks are not acceptable by compiler.
Please help me to find the appropriate algorithm.
Regards Foad
Accepted Answer
More Answers (1)
Categories
Find more on Signal Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!