Program is not working
显示 更早的评论
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 个评论
Jan
2012-3-18
I assume, that the error message contains also the line with the ceil() command.
回答(3 个)
Walter Roberson
2012-3-18
1 个投票
Convert your input data from datatype logical to one of the numeric datatypes, such as uint8(par)
4 个评论
KARTHICK
2012-3-18
Walter Roberson
2012-3-18
I am making a guess about which parameter is the problem.
Try the line
y_mod=modulate(modem.pskmod(alphabet_M),uint8(par));
KARTHICK
2012-3-19
KARTHICK
2012-3-19
Yasin
2012-5-15
0 个投票
I think that, it should be right:
y_mod=modulate(modem.pskmod(alphabet_M),double(par));
Shivani S
2020-12-11
0 个投票
Undefined function 'pskmod' for input arguments of type 'double'.
Error:
bp=pskmod(b,2)
can u help me with this error?
1 个评论
Walter Roberson
2020-12-11
You need the Communications Systems toolbox licensed and installed.
类别
在 帮助中心 和 File Exchange 中查找有关 Modulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!