how to genrate random signal

3 views (last 30 days)
irfan
irfan on 6 Apr 2016
Edited: Rick Rosson on 7 Apr 2016
N=1024;
  3 Comments
Rick Rosson
Rick Rosson on 6 Apr 2016
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)

Categories

Find more on Measurements and Feature Extraction in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!