Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

stochastic proccess generation in matlab

Status
Not open for further replies.

makis0987

Newbie level 5
Joined
Feb 29, 2008
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,340
Hi,
I dont know how to generate in Matlab a discrete time stochastic process of 2000 i.i.d (indepented and identically distributed) uniform distributed samples in the interval [-.5,.5].
Could anyone help me?
Thanks in advance
 

try:
Code:
5*(2*rand(1,2000)-1)
"rand" generates uniformly distributed numbers between [0,1).
 

try:
Code:
5*(2*rand(1,2000)-1)

"rand" generates uniformly distributed numbers between [0,1).


0.5*(2*rand(1,2000)-1)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top