simplifying an algebraic expression in 6 variables
이전 댓글 표시
hello,
can you please help me with the following , I am trying to write matlab code to simplyfy this expression :
0.95 x1 -0.85 x2-0.14 x3+0.13 x4 -0.88 x5 -1.52 x6 - 1.64 * sqrt{ ( 0.100 x1 + 0.06 x2 + 1.03 x3 + 0.88 x4+0.02 x5 +0.19x6) ^2 + (0.04 x1 -0.05 x2+0.057 x3+0.15 x4-0.01 x5 -0.08 x6) ^2 }
I want to combine all x1 together and x2 as well ..etc
Thank you in advance
댓글 수: 6
Torsten
2022년 6월 7일
It depends on what you mean is a "simpler" expression than the one you posted.
In my opinion, it's the simplest one you can have.
Az.Sa
2022년 6월 7일
@FA.A, can you edit your Question and specify your request there so that people can clearly understand what you really want and they provide the best answers that suit your need?
Edit: Thanks.
Is it allowed to manipulate the function fcn so that
and
can be factored?
syms x1 x2 x3 x4 x5 x6
fcn = 0.95*x1 - 0.85*x2 - 0.14*x3 + 0.13*x4 - 0.88*x5 - 1.52*x6 - 1.64*sqrt((0.100*x1 + 0.06*x2 + 1.03*x3 + 0.88*x4 + 0.02*x5 + 0.19*x6)^2 + (0.04*x1 - 0.05*x2 + 0.057*x3 + 0.15*x4 - 0.01*x5 - 0.08*x6)^2)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Choose a Solver에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
