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

回答(2 个)

Why didn't rand() work? It should. Let's see the code and the way you determined that it didn't work.
Robert
Robert 2014-11-3
编辑:Robert 2014-11-3
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 个评论

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.

请先登录,再进行评论。

产品

提问:

2014-11-3

Community Treasure Hunt

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

Start Hunting!

Translated by