0,1のバーカー符号の生成

2 ビュー (過去 30 日間)
颯大 髙橋
颯大 髙橋 2022 年 10 月 15 日
回答済み: takemoto 2022 年 10 月 24 日
-1,1のバーカー符号を0,1のバーカー符号にする、または0,1のバーカー符号を作るにはどうすればいいですか?

回答 (1 件)

takemoto
takemoto 2022 年 10 月 24 日
上記例題の、Bipolar to Unipolar Converterブロックが、それに相当する処理を行っている様に見受けられます。スクリプトであれば、以下の様な処理でいかがでしょうか?
barker = comm.BarkerCode('SamplesPerFrame',10)
barker =
comm.BarkerCode with properties: Length: 7 SamplesPerFrame: 10 OutputDataType: 'double'
seq1 = barker()
seq1 = 10×1
-1 -1 -1 1 1 -1 1 -1 -1 -1
seq2 = (seq1+1)/2
seq2 = 10×1
0 0 0 1 1 0 1 0 0 0

カテゴリ

Help Center および File ExchangeSignal Integrity Kits for Industry Standards についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!