经典通信系统仿真书籍《通信系统与 MATLAB (Proakis)》源代码

源代码在线查看: dsbadmpc.m

软件大小: 3157 K
上传用户: xueyulanlian
关键词: Proakis MATLAB 通信系统 仿真
下载地址: 免注册下载 普通下载 VIP

相关代码

				function [nb,db,nw,dw,nl,dl]=dsbadmpc(Fc,order)
				%DSBADMPC   is a function designing filters for DSB SC ADM.
				%   [NB,DB,NW,DW,NL,DL]=DSBADMPC(Fc) 
				%   outputs the bandpass fileter and two lowpass filters for
				%   DSB SC ADM when the carrier frequency is provided.
				
				%       Copyright (c) 1996 by The MathWorks, Inc.
				%       $Revision: 1.1 $  $Date: 1996/04/01 19:38:42 $
				
				if nargin < 2
				    order = 4;
				end;
				Fc=Fc*2*pi;
				[a,b,c,d]=filtm('buttap', 'lp2bp', Fc, Fc/100, 50, order);
				[nb,db]=ss2tf(a,b,c,d);
				[z,p,k]=cheb1ap(order,3);
				a=1.5*Fc*z;
				b=1.5*Fc*p;
				c=real(prod(-b));
				[nw,dw]=zp2tf(a,b,c);
				a=Fc*z/10;
				b=Fc*p/10;
				c=real(prod(-b));
				[nl,dl]=zp2tf(a,b,c);
							

相关资源