Borrar filtros
Borrar filtros

How do I get Symbolic/simplify to replace 1-cos(theta)^2 with sin(theta)^2 etc.

3 visualizaciones (últimos 30 días)
I am using simplify on a long, complicated symbolic expression, and it does not replace 1-cos(theta)^2 with sin(theta)^2 nor 1-sin(theta)^2 with cos(theta)^2. It does so on a trivial test expression, but not on my expression, even using 'steps', 1000. How can I force these substitutions?

Respuestas (1)

Star Strider
Star Strider el 23 de Abr. de 2023
Without having the longer expression to experiment with, perhaps rewrite or subexpr could work.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by