Randomize delay in Transport Delay Block
2 ビュー (過去 30 日間)
古いコメントを表示
Giovanni Delnevo
2017 年 3 月 23 日
コメント済み: Giovanni Delnevo
2017 年 3 月 31 日
I'm using the Transport Delay block to delay a signal by a fixed amount of time. Is there a way to randomize this fixed amount of time? For examples, delay the input signal by a time that goes from 1 to 2 seconds?
0 件のコメント
採用された回答
Jyotish Robin
2017 年 3 月 31 日
Hi Giovanni!
I understand that you wish to randomize the delay caused by the Transport Delay Block. In the Transport Delay block, you can see a parameter 'Time delay'. You could use a random number generating function to specify the random delay you would like to have.
For example, if you keep the value of 'Time delay' as 'rand' it will return a single uniformly distributed random number in the interval (0,1) for the delay .
I hope the above suggestions help!
Regards,
Jyotish
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Signal Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!