https://au.mathworks.com/help/msblks/ref/jitterdutycycle.html
jitterDutyCycle - Measure jitter correlated with duty cycle distortion - MATLAB
This MATLAB function measures the duty cycle distortion (DCD) from input jittery waveform by using the specified symbol time.
duty cyclemeasurejittercorrelateddistortion