Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
mon
Posts:
46
Registered:
12/6/04
|
|
Re: Multiply out 10 factors
Posted:
Apr 12, 2010 3:18 PM
|
|
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
|
|
|
|