matlab filter code
2016-08-23
0 0 0
no vote
Other
Earn points
clear;
clc;
close all;
Fs_o = 44.1e3;
%define dividing #
a=10;
%define new sampling freq
Fs = 44.1e3/a;
m = Fs/(44.1e3);
[sig_o,Fs_o] = wavread('she.wav');
sig = sig_o(1:1/m:Fs_o*10);
y = sig(1:1:Fs*10);
figure(1)
subplot(1,2,1)
plot([1:length(y)]*1/Fs,y)
title('freq=(44.1k/2000)Hz')
xlabel('Time (s)')
ylabel('Amplitude')
subplot(1,2,2)
spectrogram(y,256,250,256,Fs)
title('freq=(44.1k/2000)')
wavwrite(y,Fs,'sampled_she.wav')
matlab
代码
筛选器
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment