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 件)

Image Analyst
Image Analyst 2014 年 11 月 3 日

0 投票

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 日

0 投票

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 件のコメント

Image Analyst
Image Analyst 2014 年 11 月 3 日
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 日

コメント済み:

2014 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by