What is the relationship between sample time,simulation time and sample per frame of bernoulli Binary generator?

2 次查看(过去 30 天)
Bernoulli binary generator is a block in simulink which generate random binary signal.The Block consist of 2 fields Sample time and sample per frame? I want to know the relationship between sample time,sample per frame and simulation time? For example if I set sample time 0.01s, sample per frame 1000 and simulation time 10000 then what is my bit rate?

回答(1 个)

Divyanshu
Divyanshu 2024-10-3
Based on the values you provided, every 10 seconds a binary output is generated by the block. And as the samples per frame is 1000 therefore each binary output is a vector of [1000 X 1].
Simulation time being 10000, every 10 seconds till 10000 a binary output would be generated by the block.
You can execute the following command to open the documentation where you can get more details about this:
web(fullfile(docroot,'comm/ref/bernoullibinarygenerator.html#zmw57dd0e64322'))
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by