Filter löschen
Filter löschen

I need help factoring a symbolic expression

9 Ansichten (letzte 30 Tage)
Drew Mitchell
Drew Mitchell am 9 Mär. 2016
Kommentiert: Walter Roberson am 19 Dez. 2020
I have a symbolic expression in 3 variables f(r,z,t). I am trying to factor it such that I have an expression of the form:
f(r,z,t)=g(t)*h(r,z)
I am using R2014a fyi. I think this can be done with factor(f,t) if I had R2016 but is there a nice way to do this with R2014.
Thanks
Drew

Antworten (1)

Walter Roberson
Walter Roberson am 10 Mär. 2016
factor() has always been part of the Symbolic Toolbox.
  4 Kommentare
Morgan Blankenship
Morgan Blankenship am 19 Dez. 2020
I'm trying to figure this out as well. I see
C:\Program Files\MATLAB\R2020a\toolbox\matlab\specfun\factor.m
C:\Program Files\MATLAB\R2020a\toolbox\shared\hdlshared\@hdl\factor.p % hdl method
C:\Program Files\MATLAB\R2020a\toolbox\symbolic\symbolic\@sym\factor.m % sym method
when typing
which -all factor
It keeps defaulting to the first function when I'm trying to call the third. How do I get around this?
Walter Roberson
Walter Roberson am 19 Dez. 2020
syms x
which factor(x*x)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by