搜索资源列表
example4_6
- :滤波 fs=400 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=5 时间窗大小 t=0:ts:T -hf1=zeros(1,N) hf1(f<=B1&f>=-B1)=1 y1=hf1.*fftshift(y) figure subplot(211) plot(f,abs(fftshift(y))/N,f,hf1, r-- ) axis([-fs/2,fs/2,0,1.2]) title( 原信号
example4_3
- 例3:分析占空比为ta的矩形脉冲频谱 T=1 时间窗大小 ta=0.5 占空比 N=256 t=linspace(-T,T,N) ts=2*T/N fs=1/ts -x=zeros(1,N) x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1) y=fft(x,N) figure plot(t,x) title([ 时域信号图 占空比为 ,num
ampp
- 用于提取语音信号的能量谱的函数,ampp(s,a,b,c),x为输入信号,a,b,c用于指定subplot函数的作图位置-A function for extracting the energy spectrum of the speech signal, ampp (s, a, b, c), x is the input signal, a, b, c is used to specify the location of subplot mapping function
zcrr
- 用于计算语音信号过零率的函数zcrr,zcrr(x,a,b,i),x为输入,a,b,c为指定subplot函数的参数-Function zcrr for calculating zero-crossing rate of the speech signal, zcrr (x, a, b, i), x is the input, a, b, c as a function of the parameter specifies subplot
tight_subplot
- 画多个子图用的,里面用了subplot函数,到时可以修改-Draw a number of sub graph, which used the subplot function, then you can modify