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!