I am simulating SAR ADC in matlab/simulink and I want to plot fft of the output. I need help writing the code to convert the digital bits to analog to plot thee fft.
The digital bits are given and stored up in a ToWorkspace block
enter image description here
the code
New contributor
Prinsca Kusorgbor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.