View License

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

» Watch video

Highlights from
gfnull

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 3.06 KB File ID: #28633 Version: 1.0

gfnull

by

 

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

| Watch this File

File Information
Description

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 (2)
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