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

Answers (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 on 3 Nov 2014
Edited: Robert on 3 Nov 2014
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 Comment

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.

Sign in to comment.

Products

Asked:

on 3 Nov 2014

Commented:

on 3 Nov 2014

Community Treasure Hunt

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

Start Hunting!