Random Integer with "smooth transition" in Simulink
6 次查看(过去 30 天)
显示 更早的评论
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).
0 个评论
回答(1 个)
Kaustubha Govind
2011-7-20
2 个评论
Sean de Wolski
2011-7-20
Since this worked for you, please accept Kaustubha's answer to mark this thread closed.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!