Program is not working

조회 수: 1 (최근 30일)
KARTHICK
KARTHICK 2012년 3월 18일
댓글: Walter Roberson 2020년 12월 11일
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
Jan 2012년 3월 18일
I assume, that the error message contains also the line with the ceil() command.

댓글을 달려면 로그인하십시오.

답변 (3개)

Walter Roberson
Walter Roberson 2012년 3월 18일
Convert your input data from datatype logical to one of the numeric datatypes, such as uint8(par)
  댓글 수: 4
KARTHICK
KARTHICK 2012년 3월 19일
Still its showing error.But this time different error
??? Error using ==> modem.abstractMod.checkModInput at 35
Input X must be an integer-valued double-precision matrix.
Error in ==> ray at 22
y_mod=modulate(modem.pskmod(alphabet_M),uint8(par));
KARTHICK
KARTHICK 2012년 3월 19일
I need a MATLAB code for concatenated channel modeling (i.e)The input must be modulated and encoded.Then it is allowed to pass through AWGN cchannel and Rayleigh fading channel.The result is now decoded,demodulated and error rate should be calculated. The input is 64 bit sequence. I need a MATLAB code. Can you help with this? Please!

댓글을 달려면 로그인하십시오.


Yasin
Yasin 2012년 5월 15일
I think that, it should be right:
y_mod=modulate(modem.pskmod(alphabet_M),double(par));

Shivani S
Shivani S 2020년 12월 11일
Undefined function 'pskmod' for input arguments of type 'double'.
Error:
bp=pskmod(b,2)
can u help me with this error?
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 12월 11일
You need the Communications Systems toolbox licensed and installed.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by