MATLAB: Downsampling a music in matlab Signal Processing Toolboxurgent Hello all, I have a .wav type music and would like to undersample it at 4kHz to view the aliasing effect. Can somebody help me please? Thanks in advance. Best Answer doc downsampleAssuming your music is starting with a sample rate of 44.1 kHz and you are happy with a sampling rate of ~4009.09 Hz (44.1e3/11) then:y = downsample(x, 11); Related SolutionsMATLAB: Sampling Audio at 11025 sample/sec in MATLAB See: Record and Play Audio for a full description of the process. Note that SampleRate defines the sampling frequency. MATLAB: Downsampling image Hi, You can use dyaddown() from the Wavelet Toolbox. x = randn(8,8); % this gives you 1st row, 1st column, 3rd row, 3rd colum, etc y = dyaddown(x,'m',1); % now this gives you 2nd row, 2nd column, etc y = dyaddown(x,'m',0);Or you can use downsample() from the Signal Processing Toolbox. This gives you one polyphase matrix. Y = downsample(x,2,0); Y = (downsample(Y',2,0))';This gives you the other: Y1 = downsample(x,2,1); Y1 = (downsample(Y1',2,1))';Hope that helps,Wayne Related QuestionMusic file formatMatlab coding for downsampling……..……
Best Answer