필터 지우기
필터 지우기

Question about Buffer block

조회 수: 1 (최근 30일)
Owen
Owen 2012년 10월 9일
Hi,
I have a Buffer block with the depth = 10 and a frame based vector with the length = 5.
After a simulation I notice that 2 vectors sequeeze into this buffer like this:
[1;2;3;4;5;1;2;3;4;5]
But I want the following: [1;2;3;4;5;0;0;0;0;0]
That is, every time the buffer will be loaded newly. Is it possible with the Buffer block?
Thanks Senmeis

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 10월 9일
편집: Kaustubha Govind 2012년 10월 9일
So it looks like you simply want your input concatenated with 5 zeros? Is this correct? If so, you might just want to use the Concatenate block and provide a Constant block with value zeros(5, 1) as the second input.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by