Program is not working
Afficher commentaires plus anciens
I got error saying that ??? Undefined function or method 'ceil' for input arguments of type 'logical'.
Error in ==> ray at 22 y_mod=modulate(modem.pskmod(alphabet_M),par);
Can you help me with this?
1 commentaire
Jan
le 18 Mar 2012
I assume, that the error message contains also the line with the ceil() command.
Réponses (3)
Walter Roberson
le 18 Mar 2012
1 vote
Convert your input data from datatype logical to one of the numeric datatypes, such as uint8(par)
4 commentaires
KARTHICK
le 18 Mar 2012
Walter Roberson
le 18 Mar 2012
I am making a guess about which parameter is the problem.
Try the line
y_mod=modulate(modem.pskmod(alphabet_M),uint8(par));
KARTHICK
le 19 Mar 2012
KARTHICK
le 19 Mar 2012
Yasin
le 15 Mai 2012
0 votes
I think that, it should be right:
y_mod=modulate(modem.pskmod(alphabet_M),double(par));
Shivani S
le 11 Déc 2020
0 votes
Undefined function 'pskmod' for input arguments of type 'double'.
Error:
bp=pskmod(b,2)
can u help me with this error?
1 commentaire
Walter Roberson
le 11 Déc 2020
You need the Communications Systems toolbox licensed and installed.
Catégories
En savoir plus sur Modulation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!