Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

existence of solutions of an over-determined system over finite fields

Tags:

c++

c

math

matlab

Does anyone know how to determine whether or not a linear equation array over finite fields has at least a solution? Basically, I have xA=b, where x has length n and A has size n by m. When m>n, the system over-determined. I know if everything is over real number, the condition would be AA'b=b, where A' is the pseudo-inverse of A. But how about system over finite field? I am primarily using MATLAB, and pinv(A) doesnt work for A over finite fields.

Thanks in advance!

like image 712
user2883918 Avatar asked Jan 20 '26 01:01

user2883918


1 Answers

I don't have the Communications System Toolbox, so I can't try anything here out, but to check if your system for existence and/or uniqueness of solutions, try gfrank. Check if the rank of the matrix is equal to the number of rows (unique solution). Rather, compare rank([A,b]) and rank(A), although I don't know if Galois field objects concatenate like that.

Then use the backslash operator (\ a.ka. mldivide) to solve the system Ax=b.

See here for examples of linear algebra with Galois fields.

like image 60
chappjc Avatar answered Jan 22 '26 13:01

chappjc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!