cubic equations

3 views (last 30 days)
aaa
aaa on 23 Aug 2011
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.

Answers (1)

Sean de Wolski
Sean de Wolski on 23 Aug 2011
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!