Display a Matlab Object
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
kale
am 15 Feb. 2023
Beantwortet: Walter Roberson
am 15 Feb. 2023
I should generate a Barker preamble for a BPSK sequence to send and, on reception, equalise. I wrote:
barker = comm.BarkerCode('SamplesPerFrame', 10, 'Length', 11)
I should add this preamble in a frame containing 1000 BPSK symbols (already created) and then send it.
I do not understand how to use this object ... how do I display its value?
I would like to see something like this: [1 1 1 -1 -1 -1 1 -1 -1 1 -1].
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 15 Feb. 2023
b = barker()
Note that the output might be different each time. You can adjust the code length and the samples per frame. See the documentation for examples
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu BPSK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!