randn and band limited white noise

조회 수: 1 (최근 30일)
dab483
dab483 2012년 5월 25일
In Matlab programming i generate noise using randn such that :
randn('state',sum(100*clock))
xdot = xdot + sqrt(dt * Q) * [randn; randn; randn];
now, i want to use simulink - band limited white noise block. how do I set the parameter (eg: noise power/seed) in the block to be exactly like the one wrote in matlab programming?
Any idea?
  댓글 수: 1
Daniel Shub
Daniel Shub 2012년 5월 25일
Not an answer, but randn('state',sum(100*clock)) is about 10 years out of date. You should read up on the way the random number generators work now.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by