how to genrate random signal

N=1024;

3 Comments

irfan - please provide more details. What should the frequency be? What should be the amplitude? Or are these random too? Is N defined to be the block size?
And, what probability distribution do you want to use? Gaussian? Uniform? Exponential? Or...?
irfan
irfan on 7 Apr 2016
Edited: irfan on 7 Apr 2016
my frequency and amplitude are also random ,i am using uniformly distribution .i am confused how to do it so sir kindly help me

Sign in to comment.

 Accepted Answer

Rick Rosson
Rick Rosson on 7 Apr 2016
Edited: Rick Rosson on 7 Apr 2016
N = 1024;
x = rand(N,1);
figure;
plot(x);

More Answers (0)

Asked:

on 6 Apr 2016

Edited:

on 7 Apr 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!