abs and sign simplification
Ältere Kommentare anzeigen
In some symbolic manipulations, I get a result which has something like abs(e)*sign(e). Why is this not simplified away, even by simplify? It's surely an identity that e = abs(e)*sign(e). For example, with this code:
syms x
diff(norm(diff(cos(x))))
% ans = (abs(sin(t))*sign(sin(t))*cos(t))/(abs(sin(t))^2)^(1/2)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Conversion finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!