cubic equations

3 次查看(过去 30 天)
aaa
aaa 2011-8-23
Hi all,
I was wondering if matlab had a function that can decompose my cubic function into something simpler. My preference is that my cubic function breaks down into one second order function and another first order function.
Unfortunatly, my given equation does not have any numbers i.e it is the form As^3+Bs^2+Cs+D, so i don't think i can use things like the factor theorem to break it down.
Would I need to use the "syms" call in Matlab as well?
Thanks for your help.

回答(1 个)

Sean de Wolski
Sean de Wolski 2011-8-23
Yes you'll need to create the object as a syms
docsearch syms factor
to factor it.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by