RIGOL
fftRms = abs( fftSpec');
fftLg = 20*log(fftRms);
subplot(212);
plot(fftLg);
3.
Save the M file under the current directory. In this demo, the M file is named as
MSO2000A_Demo_MATLAB.m. Run the M file and the running result is as follows.
3-12
3 Programming Demos
MSO2000A/DS2000A Programming Guide