Specifications

RIGOL 3 Programming Demos
3-18 DS2000 Programming Guide
3-18
wave = data(12:len-1);
wave = wave';
subplot(211);
plot(wave);
fftSpec = fft(wave',2048);
fftRms = abs( fftSpec');
fftLg = 20*log(fftRms);
subplot(212);
plot(fftLg);
7. Run the program. Make sure that the WaveData.m file can be found under the
current directory setting. Input WaveData in the Command Window and then
click Enter as shown in the figure below.