When I run the following code:
M = 2; % states in the modulation
Fd = 1E3; % data rate
Fs = 10E3; % set the sample frequency
Nd = 12; % set the number of data points
MsgData = randint(Nd,3,M); Envelope = dmodce(MsgData,Fd,Fs,'msk');
I get the following error:
??? Error using ==> vertcat All rows in the bracketed expression must have the same number of columns. Error in ==> D:\R12.1\toolbox\comm\comm\dmodce.m On line 198 ==> x = [0; x(1:end-1)];
Best Answer