MATLAB: Symbol rate

symbol duration

how to calculate symbol rate in MATLAB, if we are given a binary data of 1Kbits/second.

Best Answer

If the number of bits per symbol is constant, then I already showed you the formula. You deleted my answer, however -- why did you do that?
1000 bits per second, divided by (N bits per symbol) gives how many symbols per second?
If different symbols have different numbers of bits, then you can only speak about the average number of symbols per second. You would either have to have a measured average, or you would have to have a known probability distribution for each symbol. Multiply the number of bits for any one symbol by its probability, sum over all the symbols to get the statistical average bits per symbol, and then proceed as per the above outline.