View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

1.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 3.06 KB File ID: #28633 Version: 1.0




simple routine to find the null space of a matrix over gf (2)

| Watch this File

File Information

It is a bit surprising that the communications toolbox provides functionality for elements over gf(2), but it does not provide functionality for finding the null space of a matrix over the Galois field. These two files are simple modifications of the standard files "null.m" and "rref.m". The modification finds the null space of a matrix over gf(2).

Required Products Communications System Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
04 Feb 2017 Hams Iffic

This script does not work, I was able to reproduce the same problem mentioned by Eliran Avni, this script gives the wrong result for the matrix [1 1 0; 1 0 1; 0 1 1], for example.

31 Aug 2015 Eliran Avni

Did you test your script on aaa = [1 1 0 ; 1 0 1 ; 0 1 1]?
Over Z_2, these vector are linearly dependent, and the matrix has a non trivial vector in its null space - [1 1 1].
Yet, gfnull(aaa) returns an empty matrix (at least, when I run it).

Comment only
18 Apr 2011 Kiran

Kiran (view profile)

in the file gfrref.m, please remove A=gf(A,2). This converts A to GF(2^2).

Comment only

Contact us