symbolic
symbolic copied to clipboard
Factor and Partfrac should use radicals, complex
When I run factor(z^2-3), shouldn't I have the option of getting (z+sqrt(3)) * (z-sqrt(3))?
Similar issue for partfrac(), shouldn't there be options to decompose into monomials with radicals and square roots?
I am trying to use this package to study z and L transforms, and avoid some of the tedium of computing polynomial stuff by hand.
Thanks for everything, and I would be interested to know if I am off base.
The Matlab SMT factor
function has a FactorMode
option that gives the results you want. The default mode is rational
, which gives the same result as Octave. But the other options can return factorizations with real or radical coefficients.