Simplify expression even further

When I run something like this:
pretty(vpa(simplify(coef(2)),6))
I get something like this:
479 478 478 477 477 479 -479
(5.3871 10 Y2 + 6.70376 10 Y3 - 1.56556 10 Y4 - 8.22423 10 Y5 + 6.06173 10 Y6 - 9.98602 10 ) 1.58504 10
----------------------------------------------------------------------------------------------------------------------------
L
How can I get the to multiply everything inside the parenthesis so that I can get a simpler expression?

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 1월 6일

0 개 추천

You could try specifying 'Step' for simplify. Adjust the value and see if it gets the result you want.
simplify(expr,'Steps',100)

댓글 수: 1

John F
John F 2021년 1월 6일
Have tried with 25,50 and now 100 and it makes no difference

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

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2021년 1월 6일

댓글:

2021년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by