Changeset 3699

Show
Ignore:
Timestamp:
05/07/07 13:57:37 (6 years ago)
Author:
phelps
Message:

almost have quick sort/search method figured out

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • SigProc/trunk/SigProc/modem.cpp

    r3523 r3699  
    1414 
    1515 
    16 void Constellation(ConstellationType type, ConstellationMapping map, unsigned int M, signed short *I_const, signed short *Q_const){ 
     16void Constellation(ConstellationType type, ConstellationMapping map, unsigned int M, signed short *I_const, signed short *Q_const, bool *symbolBits){ 
    1717    signed short I[M]; 
    1818    signed short Q[M]; 
     
    9696    else if(type==1){ 
    9797        //shift from striped arrangement to recursive quadrants for recursive I and Q threshold comparisons 
     98        unsigned short bitsPersymbol = log(M)/log(2); 
     99        signed short I_temp[M]; 
     100        signed short Q_temp[M]; 
     101        bool orderedSymbolBits_temp[M][bitsPersymbol]; 
     102        //make copies 
     103        //think I have recursive ccw way to do this, need to work out in matlab 
     104 
    98105    } 
    99106