2019.11.16 [x, Fs] = audioread('G:\IOT\作业2\res1.wav'); >> sigLength = length(x); >> t = (0:sigLength-1)/Fs; >> figure; >> subplot(2, 1, 1); >> plot(t, x), title('Plot of the Tone'), grid; >> xlabel('Time(s)'); >> ylabel('Amplitude');