Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Multiply out 10 factors
Replies: 7   Last Post: Apr 12, 2010 5:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
mon

Posts: 46
Registered: 12/6/04
Re: Multiply out 10 factors
Posted: Apr 12, 2010 3:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Great, thx. Is there a way to order the result according to coefficients of x^k?
(example: x*(-a^3 - a^5) + x^2*(a^5 + a^6) ...)

Walter Roberson <roberson@hushmail.com> wrote in message <hpvqoc$44k$1@canopus.cc.umanitoba.ca>...
> Julian Geiger wrote:
> > I want to do something simple, but I cannot do it right in Matlab and
> > need help:
> >
> > Multiply out: (x-a)(x-a^2)(x-a^3)...(x-a^10)
> >
> > How can I do this? I tried so many things, including entering the
> > equation. However, Matlab does not give me the resulting polynomial, it
> > gives me a factorization (which is not what I look for).

>
> I gather you are doing this symbolically? If so then use expand()
>
> http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/expand.html




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.