Reverse Link Matlab Code

 

Encoding

 

Full Encoder(combines all steps)

 

Quantization(Convert to bits)

 

Padding(Adjust for many code bits per data bit)

 

Encoding(Multiply by code)

 

Decoding

 

Full Decoder(combines all steps)

 

Decoding(same as encode)

 

Unpad(Reconstruct correct bit sequence by averaging decoded output for each bit)

 

Unquantize(Convert to numbers)

 

Code Generation

 

Gold Code Generator(adds shifted results of two sub-generators)

 

Gold Code Sub-generator 1

 

Gold Code Sub-generator 2

 

Circular Shift(circularly shifts vectors)

 

Cross Correlation(shows cross correlation between two codes for all shifts)

 

Correlator/Synchronizer(identifies code shift based on received signal)

 

Testing

 

SNR Calculator(for given signal and noise power)

 

SNR Calculator(for given input and output)

 

Set Encoder(encodes and sums set of inputs, then decodes each)

 

Test Script(produces SNR measurements)

 

©2001 Kyle Bryson, Alison Chen, and Allen Wan