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_08_08.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 8.8.
- % Generate U, denoting all information sequences.
- k=4;
- for i=1:2^k
- for j=k:-1:1
- if rem(i-1,2^(-j+k+1))>=2^(-j+k)
- u(i,j)=1;
- else
- u(i,j)=0;
- end
- echo off ;
- end
- end
- echo on ;
- % Define G, the generator matrix.
- g=[1 0 0 1 1 1 0 1 1 1;
- 1 1 1 0 0 0 1 1 1 0;
- 0 1 1 0 1 1 0 1 0 1;
- 1 1 0 1 1 1 1 0 0 1];
- % Generate codewords.
- c=rem(u*g,2);
- % Find the minimum distance.
- w_min=min(sum((c(2:2^k,:))'));