| Communications Toolbox | ![]() |
To find out whether a variable is a Galois array rather than an ordinary MATLAB array, use the isa function. An illustration is below.
mlvar = eye(3); gfvar = gf(mlvar,3); no = isa(mlvar,'gf'); % False because mlvar is not a Galois array yes = isa(gfvar,'gf'); % True because gfvar is a Galois array
| Manipulating Galois Variables | Extracting Information from a Galois Array | ![]() |
© 1994-2005 The MathWorks, Inc.