Ältere Kommentare anzeigen
x y z s1 s2 s3 s4 s5 s6为变量
matlab(2014a)输出了如下结果:
s =
[ s1, s2, s3, s4, s5, s6, (s4^2)^(1/2), (s6^2)^(1/2)]
X =
[ (y^4)^(1/2), (z^4)^(1/2), x*y, x*z, y*z, x^2, y^2, z^2]
问题是:如何使输出的次方数化简,例如,使(y^4)^(1/2)变为y^2,使(s4^2)^(1/2)变为s4
请网友们帮一下忙,谢谢了
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 启动和关闭 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!