필터 지우기
필터 지우기

Random Integer with "smooth transition" in Simulink

조회 수: 7 (최근 30일)
Joe Stitt
Joe Stitt 2011년 7월 20일
I'd like to generate a random number every 10 seconds, and count from one number to the next. I'm currently using the random integer generator, which works perfectly to give me a random number, but the transition from one number to the next is too harsh. I can't seem to find a block to soften the changes.
Is there a block that I can place after the Random Integer block to count from the previous integer to the next? Or perhaps is there another way to smoothly transition between random numbers?
Suggestions?
I'm stuck using an older version of matlab/simulink (2007a).

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 7월 20일
You may find the Rate Limiter block useful.
  댓글 수: 2
Joe Stitt
Joe Stitt 2011년 7월 20일
Thank You! It works perfectly.
Sean de Wolski
Sean de Wolski 2011년 7월 20일
Since this worked for you, please accept Kaustubha's answer to mark this thread closed.

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

카테고리

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