ECE4253 Digital Communications | |
Department of Electrical and Computer Engineering - University of New Brunswick, Fredericton, NB, Canada | |
111001011010 -------------- = 10100001, Remainder = 0000 11010
x11+x10+x9+x6+x4+x3+x -------------------- = x7+x5+1, Remainder: 0 x4+x3+x |
10100001 -------------- 11010 ) 111001011010 11010 ----- 01101011010 11010 ----- 000011010 11010 ----- 0000 |
Calculations in GF(2) are performed by MATLAB functions found within the Communications Toolbox.
>> a = gf( [1 1 1 0 0 1 0 1 1 0 1 0] );
>> b = gf( [1 1 0 1 0] );
>> [q,r] = deconv(a,b) % deconvolution is equivalent to division
q = GF(2) array.
Array elements =
1 0 1 0 0 0 0 1
r = GF(2) array.
Array elements =
0
2024-05-28 20:26:15 ADT
Last Updated: 2010-04-29 |
Richard Tervo [ tervo@unb.ca ] | Back to the course homepage... |