Question: Make a Sigma Coefficient from Sigma Vector Using GetSyndrom function, compute 1 +6X +6X for Xa,a, -2, if o(a)= 0, then append beta to
Make a Sigma Coefficient from Sigma Vector Using GetSyndrom function, compute 1 +6X +6X for Xa,a, -2, if o(a)= 0, then append beta to Beta array. Make this process as a function named "ChienSearch.m" RS Decoding in Matlab Let's make a function that returns Error Location Value % This function find the root of Erro Locator Polynomial % Return value Beta is the inverse of the root in GF(2^m-1) % input sigma is the coefficients of Error Locator Polynomial in reverse % order. L.e. if s(x) = 1 + $1X + s2X^2, input matrix is [s2 s1]' function Beta = ChienSearch(sigma) m = sigma.m; a = gf(2,m); L = length(sigma); N = 2^m-1; % Sigma Coefficient Make SigCoeff = [1 flip(sigma')] Beta = 0; end >> Sigma Sigma = GF (2^3) array. Primitive polynomial = D^3+D+1 (11 decimal) Array elements = 1 5 >> Beta = ChienSearch(Sigma) SigCoeff = GF (2^3) array. Primitive polynomial = D^3+D+1 (11 decimal) Array elements = 151 Beta = GF(2^3) array. Primitive polynomial = D^3+D+1 (11 decimal) Array elements = 63
Step by Step Solution
3.35 Rating (142 Votes )
There are 3 Steps involved in it
To make a Sigma Coefficient from Sigma Vector and compute 1XX using GetSyndrom functionwe can use th... View full answer
Get step-by-step solutions from verified subject matter experts
