필터 지우기
필터 지우기

Shift Row matrix-Convolutional Code

조회 수: 1 (최근 30일)
Ronak Sakaria
Ronak Sakaria 2012년 5월 17일
I'm implementing convolutional coder. for that i need to shift register bit so that serial data can come in register one bit at a time. I'm implementing (7,5) 1/2 rate encoder.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 5월 17일
bitshift() .
Caution: shift register calculations often want to know what the value is of the bit that will logically get shifted "out" of the register by the operation. MATLAB does not return that information from bitshift(). Instead you have to extract the value of the bit from the unshifted value, and then do the bitshift()
  댓글 수: 4
Ronak Sakaria
Ronak Sakaria 2012년 5월 18일
I'm now able to shift the row matrix without using any function. but the thing is i need to make it continuous i.e. say x=[1 2 3 4] then when i run the code it becomes x=[0 1 2 3]. when i run this second time then it remains the same. how can i make it x=[0 0 1 2] ? Please help me.
Walter Roberson
Walter Roberson 2012년 5월 18일
If you were to post your code, someone could point out to you the built-in functions that it is using.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by