Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ip_06_03.m
Package: 现代通信系统matlab版源代码.zip [view]
Upload User: loeagle
Upload Date: 2013-03-02
Package Size: 1236k
Code Size: 1k
Category:
Communication Document
Development Platform:
Matlab
- % MATLAB script for Illustrative Problem 6.3.
- echo on
- f_cutoff=2000; % the desired cutoff frequency
- f_stopband=2500; % the actual stopband frequency
- fs=10000; % the sampling frequency
- f1=2*f_cutoff/fs; % the normalized passband frequency
- f2=2*f_stopband/fs; % the normalized stopband frequency
- N=41; % This number is found by experiment.
- F=[0 f1 f2 1];
- M=[1 1 0 0]; % describes the lowpass filter
- B=remez(N-1,F,M); % returns the FIR tap coefficients
- % Plotting command follows.
- figure(1);
- [H,W]=freqz(B);
- H_in_dB=20*log10(abs(H));
- plot(W/(2*pi),H_in_dB);
- figure(2);
- plot(W/(2*pi),(180/pi)*unwrap(angle(H)));
- % Plot of the impulse response follows.
- figure(3);
- plot(zeros(size([0:N-1])));
- hold;
- stem([0:N-1],B);