How to make Matlab recognize that an expression rewritten by using subexpr() is equal to the original expression?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I would expect the isAlways() function below to return 1 but for some reason Matlab does not recognize that x=x_2. Is there a way to solve this problem?
syms a b c d e f x
x = a + (a+b+c+d+e)^(1/2) + c*(e+f+(a+b+c+d+e)^(1/2));
x_2 = subexpr(x)
isAlways(x_2==x)
0 comentarios
Ver también
Categorías
Más información sobre Assumptions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!