필터 지우기
필터 지우기

Sample time in constant block Simulink.

조회 수: 2 (최근 30일)
Jose
Jose 2013년 5월 21일
Hi,
I want to generate binary data from 2 different constant blocks and after concatenate it, the first block with 13 bits and the second with 4 bits, the require sample time is Ts, then I set Ts in each block, but here the problem: in the first each sample is every Ts/13 seconds and in the second block is every Ts/4 seconds, A first solution was set in this blocks Tsa=13*Ts ans Tsb=4*Ts, but now I have two blocks with diferrent sample time and I can't concatenate it.
Somebody can help me with this ??
Thanks.
  댓글 수: 3
Kaustubha Govind
Kaustubha Govind 2013년 5월 21일
How do you implement the Constant value to binary data conversion? Is it using a Simulink library block?
Jose
Jose 2013년 5월 21일
편집: Jose 2013년 5월 21일
I'm writing a vector with 0's and 1's in one constant block [1 0 1 1]... setting Ts in 4us, then between each 0 or 1 is 1us (1us is what I neeed), and in my 13 bit vector I have to setting Ts in 13us (1us between each value). We can see diferent Ts in each block (4us and 13us), when I try to caoncatenate it I get an error because this different Ts in each block.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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