#include #include #include #include "symboldemap_code.h" #include "CSymboldemap.h" float abso (float x) { float y; return y=sqrt(x*x); } int symboldemap(int MOD,\ int channel_len,\ symbol *in_array,\ float *out_array) { //x: it refers to the number of bits per symbol int t; float RE,IM; // float array[channel_len*MOD]; // int quantizer_table[BSIZE]; int new_channel_len; new_channel_len=channel_len*MOD; //BPSK=1, QPSK=2, 16QAM=4, 64QAM=6 if (MOD==_BPSK){ for (t=0;t