Create a function with white noise signal

Hello! I would like to create a new signal using white noise signal. Signal is defied by u(t)=e(int[(t-1)/N]+1), where t=1,2,3, .... and e(t) ie a white noise signal. I tried with functions "rand" and "awgn" but to no avail. Do you have idea how to create this kind od signal? Best regards

Réponses (2)

Image Analyst
Image Analyst le 3 Nov 2014

0 votes

Why didn't rand() work? It should. Let's see the code and the way you determined that it didn't work.
Robert
Robert le 3 Nov 2014
Modifié(e) : Robert le 3 Nov 2014

0 votes

Thank you for your interest, but realized my signal in Simulink with Uniform Random Blocks. But now I have another issue. When I generate my signal on scope looks great, but when I use block "To Workspace" in Simulink, I have variable y with dimension "<1x1x150000 double>". Do you have idea where I made mistake in Simulink? Thank for your help guys.

1 commentaire

Image Analyst
Image Analyst le 3 Nov 2014
I added Simulink to the product list so people will now know this is a Simulink question. I don't have Simulink so I can't help.

Connectez-vous pour commenter.

Produits

Question posée :

le 3 Nov 2014

Commenté :

le 3 Nov 2014

Community Treasure Hunt

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

Start Hunting!

Translated by