Shift Row matrix-Convolutional Code
Mostrar comentarios más antiguos
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.
Respuestas (1)
Walter Roberson
el 17 de Mayo de 2012
0 votos
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 comentarios
Ronak Sakaria
el 17 de Mayo de 2012
Walter Roberson
el 17 de Mayo de 2012
There are hardly any programs that can be written in MATLAB without using any predefined MATLAB functions. For example,
x(i+1)=x(i)
is
subsasgn(x, struct('type', '()', 'subs', {plus(i,1))}, subsref(x, struct('type', '()', 'subs', {i}___
This uses the built-in functions "{}", plus, struct, subsasgn, and subsref.
Ronak Sakaria
el 18 de Mayo de 2012
Walter Roberson
el 18 de Mayo de 2012
If you were to post your code, someone could point out to you the built-in functions that it is using.
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!