4.85714

4.9 | 7 ratings Rate this file 15 Downloads (last 30 days) File Size: 904 Bytes File ID: #12542

Galois Field Array to Decimal Array Conversion

by Murad Qahwash

 

05 Oct 2006 (Updated 05 Oct 2006)

convert fg array to decimal numbers

| Watch this File

File Information
Description

This code converts a Galois Field array created using GF(2^m) for a given primitive polynomial into a decimal array that can be used within typical .m file coding.
Example:
gfArray=gf([0:31],5,37);
DecArray=gf2dec(gfArray,5,37)

Acknowledgements
This submission has inspired the following:
Galois Field Array to Exponential Array Conversion
Required Products Communications System Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (10)
22 Oct 2006 William Teoh

I can't find function of gf2dec in Matlab 7.0

13 Dec 2006 Emad Alsusa

Many thanks to the author of this function. Emad

18 Jan 2007 Fahad Syed

Try to use gfArray.x

09 Jul 2007 peng hong  
24 Dec 2007 hifzallah sakran  
15 Feb 2008 Maurice Stassen

You could add a "break"-statement after the match is found and assigned to the output vector. This will stop the inner loop from maken useless loops.

21 Jun 2009 Mohammad Hasan

I tried to run the script by matlab 2006 but i get an error like this
Error in ==> gf2dec at 18
GFInput = GFInput(:)'; 1382716070116605500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000orce a row vector

02 Jul 2009 Sandya Rondla

Really helpful.. thank you

18 Aug 2010 AL A  
08 Dec 2011 Colin O'Flynn

Very useful, thanks!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
coding theory Murad Qahwash 22 Oct 2008 08:42:45
information theory Murad Qahwash 22 Oct 2008 08:42:45
gf Murad Qahwash 22 Oct 2008 08:42:45
galois field Murad Qahwash 22 Oct 2008 08:42:45
reed solomon Murad Qahwash 22 Oct 2008 08:42:45
mfile Murad Qahwash 22 Oct 2008 08:42:45
m Murad Qahwash 22 Oct 2008 08:42:45
decimal Murad Qahwash 22 Oct 2008 08:42:45
gf Grace Woo 13 Jul 2009 18:10:56
reed solomon ety baiti 07 Feb 2010 12:44:01

Contact us at files@mathworks.com