BPSK modulation and Raised Cosine Filtering

6 vues (au cours des 30 derniers jours)
Martin Bahna
Martin Bahna le 11 Avr 2020
Commenté : wahidin syahrir le 7 Fév 2023
I have problem with this code:
data = randi([0 1],40,1);
bpskModulator = comm.BPSKModulator;
bpskModulator.PhaseOffset = pi/4;
modData = bpskModulator(data);
scatterplot(modData)
modData = step(bpskModulator, data);
throwing error "Unable to resolve the name comm.BPSKModulator."
any help please?
  1 commentaire
wahidin syahrir
wahidin syahrir le 7 Fév 2023
add "coder.extrinsic('comm.BPSKModulator')"

Connectez-vous pour commenter.

Réponses (1)

Rahul Narendra Shanbhag
Rahul Narendra Shanbhag le 18 Juin 2020
Hi Martin,
From what I have understood, your issue seems to be the presence of the following error: “Unable to resolve the name comm.BPSKModulator”. The issue you are facing is usually caused by a path error, where the object is unable to access the correct path. Run the following commands in MATLAB in the following order
restoredefaultpath
savepath
After executing these commands, restart MATLAB.
I hope your issue gets resolved.
Thanks

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by