DSPRelated.com
Forums

Simulink Question

Started by Rich May 15, 2003
In Simulink, I'm trying to convert a stream of data to a stream of
vectors (frames). I know I can do this with the Buffer block, but I
don't like the fact that one frame of all zeroes is created at the
start of my vector stream.

Can anybody clue me in to a conversion method that doesn't create or
lose data?

Would the reshape block work???
Thanks,
R.



Hi Rich,

It is not possible to accumuate data without
introducing delay. The buffer block (or any block)
needs to send something to output at t=0. The only
values it can send is zeros since it has not got full
frame of data.

Is all your data to be buffered available at the same
time?

Navan

--- Rich <> wrote:
> In Simulink, I'm trying to convert a stream of data
> to a stream of
> vectors (frames). I know I can do this with the
> Buffer block, but I
> don't like the fact that one frame of all zeroes is
> created at the
> start of my vector stream.
>
> Can anybody clue me in to a conversion method that
> doesn't create or
> lose data?
>
> Would the reshape block work??? >
> Thanks,
> R.
__________________________________