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_01_04.m
Package: 现代通信系统matlab版源代码.zip [view]
Upload User: loeagle
Upload Date: 2013-03-02
Package Size: 1236k
Code Size: 0k
Category:
Communication Document
Development Platform:
Matlab
- % MATLAB script for Illustrative Problem 4, Chapter 1.
- echo on
- n=[-20:1:20];
- % Fourier series coefficients of x(t) vector
- x=.5*(sinc(n/2)).^2;
- % sampling interval
- ts=1/40;
- % time vector
- t=[-.5:ts:1.5];
- % impulse response
- fs=1/ts;
- h=[zeros(1,20),t(21:61),zeros(1,20)];
- % transfer function
- H=fft(h)/fs;
- % frequency resolution
- df=fs/80;
- f=[0:df:fs]-fs/2;
- % rearrange H
- H1=fftshift(H);
- y=x.*H1(21:61);
- % Plotting commands follow.