Program is not working

3 次查看(过去 30 天)
KARTHICK
KARTHICK 2012-3-18
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 中查找有关 PHY Components 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by