BPSK modulation and Raised Cosine Filtering

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?

Respuestas (1)

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

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 11 de Abr. de 2020

Comentada:

el 7 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by