N=1024;

3 Commenti

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 il 7 Apr 2016
Modificato: irfan il 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

Accedi per commentare.

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by