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
randint.m
Package: 现代通信系统matlab版源代码.zip [view]
Upload User: loeagle
Upload Date: 2013-03-02
Package Size: 1236k
Code Size: 4k
Category:
Communication Document
Development Platform:
Matlab
- function out = randint(varargin);
- %RANDINT Generate matrix of uniformly distributed random integers.
- % OUT = RANDINT generates a "0" or "1" with equal probability.
- %
- % OUT = RANDINT(M) generates an M-by-M matrix of random binary numbers.
- % "0" and "1" occur with equal probability.
- %
- % OUT = RANDINT(M,N) generates an M-by-N matrix of random binary numbers.
- % "0" and "1" occur with equal probability.
- %
- % OUT = RANDINT(M,N,RANGE) generates an M-by-N matrix of random integers.
- %
- % RANGE can be either a scalar or a two-element vector:
- % Scalar : If RANGE is a positive integer, then the output integer
- % range is [0, RANGE-1]. If RANGE is a negative integer,
- % then the output integer range is [RANGE+1, 0].
- % Vector : If RANGE is a two-element vector, then the output
- % integer range is [RANGE(1), RANGE(2)].
- %
- % OUT = RANDINT(M,N,RANGE,STATE) resets the state of RAND to STATE.
- %
- % Examples:
- %