Problem with samples
Show older comments
Hi,
I am working with simulink and There is a row in an array that sends out data in the following manner. [1,3,4,5,21,3,1,2,4,2,3,2,23,23,3,4,2].
I would like to analyze 5 elements at once. When i keep samples per frame = 5, output is [1,3,4,5,21] [3,1,2,4,2] [3,2,23,23,3] [4,2,...]
but I am actually looking to analyze them in the following manner.
[1,3,4,5,21] [4,5,21,3,1] [21,3,1,2,4] [2,4,2,3,2] [3,2,23,23] [23,23,3,4,2]
Is there a way to do this? Please let me know. Thank you.
Accepted Answer
More Answers (1)
Srikanth Mantha
on 27 Oct 2011
0 votes
2 Comments
Fangjun Jiang
on 28 Oct 2011
Set the buffer size and overlap at the dialog window of the Buffer block.
Srikanth Mantha
on 28 Oct 2011
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!