필터 지우기
필터 지우기

I need help factoring a symbolic expression

조회 수: 9 (최근 30일)
Drew Mitchell
Drew Mitchell 2016년 3월 9일
댓글: Walter Roberson 2020년 12월 19일
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

답변 (1개)

Walter Roberson
Walter Roberson 2016년 3월 10일
factor() has always been part of the Symbolic Toolbox.
  댓글 수: 4
Morgan Blankenship
Morgan Blankenship 2020년 12월 19일
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 2020년 12월 19일
syms x
which factor(x*x)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by