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

Respuestas (2)

Image Analyst
Image Analyst el 3 de Nov. de 2014

0 votos

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

0 votos

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 comentario

Image Analyst
Image Analyst el 3 de Nov. de 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.

Iniciar sesión para comentar.

Productos

Preguntada:

el 3 de Nov. de 2014

Comentada:

el 3 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by