Can numden return non-simplified results?
조회 수: 2 (최근 30일)
이전 댓글 표시
When I use numden on a symbolic expression, numden simplifies the expression first (canceling out common factors) before returning the numerator and denominator.
D= (x^2-1) / (x+1);
[n,d] = numden(D)
n = x - 1
d = 1
Is there a way to avoid this or another function that doesn't simplify expressions before returning numerators and denominators? The behavior I would like is:
D= (x^2-1) / (x+1);
[n,d] = numden(D)
n = x^2 - 1
d = x + 1
Thanks.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!