Square Wave from Sine Waves
Show older comments
Hello.
How would I make a square wave using a summation of sinusoidal signals as shown in the image below;
Thank you,
Andy.
3 Comments
Star Strider
on 6 Apr 2021
It is actually possible to do this in about three lines of code, and no loops.
I leave the rest to you.
Andy Stewart
on 6 Apr 2021
Star Strider
on 6 Apr 2021
My pleasure!
See my Answer.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!