what does the simplify command do?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Lillian
am 19 Jul. 2014
Bearbeitet: Wayne King
am 19 Jul. 2014
I was just wondering what sort of things
simplify()
is able to handle. What exactly does it do?
I am trying to simplify an expression that will contain sums and products of square roots of polynomials of hyperbolic sine, cos, and tan functions in the numerator and denominator. Will it notice things like sinh^2(x) + 1 to substitute cosh^2(x) ? Will it try to take radicals out of the denominator?
0 Kommentare
Akzeptierte Antwort
Wayne King
am 19 Jul. 2014
Bearbeitet: Wayne King
am 19 Jul. 2014
Yes, in general it will but you may have to up the number of steps from 1 (the default)
For example:
syms x
simplify((sinh(x))^2+1) % doesn't get what you want
simplify((sinh(x))^2+1,10) % does
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!