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 CenterFile Exchange에서 Signal 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!