diff --git a/mapping.m b/mapping.m index f8266c7..dc38618 100644 --- a/mapping.m +++ b/mapping.m @@ -1,3 +1,10 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Code file provided from ECE 257B SP2018 % +% Instructor: Dinesh Bharadia, Manu Seth % +% Department of Electrical and Computer Engineering, % +% University in San Diego, California, USA % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + function [map_out]=mapping(data,mode,scale) % mode : Modulation order in power of 2 (1/2/4/6 = BSPK/QPSK/16-QAM/64-QAM) @@ -31,5 +38,4 @@ for i=1:(ceil(length(input_seq)/mode)) end end map_out(i)=b(temp+1); -end - +end \ No newline at end of file