[y,fs]=wavread('welcome.wav', [4001 5000]); % Read 4001~5000 sample points (讀取音訊檔第4001至5000點) figure; plot(y)