I record digital signal outputs from rotary encoder which is connected to a motor and I want to convert them to analog signals. I want to plot analog outputs. Is there any Matlab code or software to convert digital signals to analog ones? I attach figures of digital signals.
Thanks.