N=1024;

3 commentaires

Geoff Hayes
Geoff Hayes le 6 Avr 2016
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?
Rick Rosson
Rick Rosson le 6 Avr 2016
And, what probability distribution do you want to use? Gaussian? Uniform? Exponential? Or...?
irfan
irfan le 7 Avr 2016
Modifié(e) : irfan le 7 Avr 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

Connectez-vous pour commenter.

 Réponse acceptée

Rick Rosson
Rick Rosson le 7 Avr 2016
Modifié(e) : Rick Rosson le 7 Avr 2016

1 vote

N = 1024;
x = rand(N,1);
figure;
plot(x);

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by