starting Simulink -- the output from Repeat and Integrate blocks
2 views (last 30 days)
Show older comments
I have some basic questions related to Simulink blocks: Repeat and Integrate and Dump.
My scheme looks like this:
Bernoulli Binary generator -> Repeat(10x) -> Integrate and Dump (10 samples).
So, I'd like to simply generate a random sequence, repeat each sample 10 times, then integrate every 10 samples to produce 1 output sample. But, it doesnt work this way. At the output of Bernoulli generator I see that each sample is already repeated 10 times. Why? Then, it goes to the Repeat block, so the outputs from Bernoulli and Repeat block look indentical. Then, after Integrate and Dump block, I dont get 10 times less samples but the same number of samples as the input sequence (original sequence*10). Why?
Any explanation is wellcome. Thank you.
1 Comment
Azzi Abdelmalek
on 4 Feb 2013
Edited: Azzi Abdelmalek
on 4 Feb 2013
Can you post your model? Also it's not clear for me.
Answers (2)
Azzi Abdelmalek
on 4 Feb 2013
Edited: Azzi Abdelmalek
on 4 Feb 2013
If you want to check your model, add a to, workspace block, repeat your sequence 2 times, and 4 times, then compare your two y
0 Comments
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!