The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: error control coding
Replies: 1   Last Post: Mar 26, 2013 10:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: error control coding
Posted: Mar 26, 2013 10:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"thelapolu naveen" <> wrote in message
> Hi all,
> I am getting below error when i try to run the loop,
> ??? Error using ==> sym.sym>tomupad at 2178
> Conversion to 'sym' from 'gf' is not possible.
> Error in ==> sym.sym>sym.sym at 111
> S.s = tomupad(x,'');
> Error in ==> sym.sym>sym.mtimes at 183
> if ~isa(B,'sym'), B = sym(B); end
> Error in ==> igh at 72
> p(i,:)=x*s(i)+x^(3)*i
> where s(i) is a syndrome defined in galois field 2,and i declared 'x 'as
> symbolic variable (syms x),here i am looking to collect the coefficients
> of the equation into p(i,:).Can any one give some suggessions.
> Thanking you,

You can't combine symbolic objects and GF objects.

What I would do is create x as a polynomial in your Galois field then use
CONV to perform the multiplication.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.