Hello, i have a question about fskmod and mskmod, when I tried to use these functions, it can only run when my bipolar bitstream. When I use unipolar, then the code can't compile.
ms = 2*randi([0 1],1000,1) -1; msk = mskmod(ms,8,,pi/2);
>> help mskmod [...] The elements of X must be 0 or 1.
>> help fskmod [...] M is the alphabet size and must be an integer power of 2. The message signal must consist of integers between 0 and M-1.
Your ms is -1 and +1, which is against the requirement that the values must be 0 or 1. Neither function accepts bipolar signals.