How i can generate clean %50 duty square waves ?

I keep getting some jitters from my DAC38J84 when i output square waves using square() function in MATLAB. I am guessing that happens because the edges of the square waves are not always in the same palce due to the number of samples per cycle.
Do you have any suggestion ?
I really appreciate it,
Thank you

Answers (1)

You can try improving the samples per cycle and making your signal more sharp as long as it obeys the size limits, if you still can't get a clear output, i feel it must be because of some hardware issue. Attach your output pictures to clearly state your problem.

This question is closed.

Products

Release

R2018a

Tags

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!