Simulink bit operations

2 ビュー (過去 30 日間)
Raldi
Raldi 2011 年 12 月 16 日
Hi all, I wanted to ask if from a number of bits that are represented with 1 and 0 is possible to invert the ones to -1 each lets say two bits? Thanks in advance.
  2 件のコメント
Raldi
Raldi 2012 年 1 月 13 日
basicaly i was trying to create an ami nrz line code, i think flip flops is the only way to do that. I havent finish it yet though.

サインインしてコメントする。

回答 (1 件)

Paulo Silva
Paulo Silva 2011 年 12 月 16 日
[1 0]------>Gain(-1)----->[-1 0]
Use the Gain block and define that gain as -1
  7 件のコメント
Raldi
Raldi 2012 年 1 月 13 日
I was thinking more of using a flip flop as it has memmory, The general idea was to create a simple ami-nrz line code.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by