how to bypass error of assume being undefined - Undefined function 'assume' for input arguments of type 'logical'

4 vues (au cours des 30 derniers jours)
Hi there. i have only just recently posted on this forum as i had an issue with getting an actual answer from "solve". i fixed this by setting my variable to real but now solve gives me two equations. one positive and one negative. i want to ignore the negative as otherwise i get the error
The number of equations exceeds the number of indeterminates. This is allowed only for polynomial systems.
how do i remove the answer of -theta-acos((H^2/1040 + 260)/H) to only get positive answers of theta and zeta?
thanks
Ross

Réponses (1)

Prashant Arora
Prashant Arora le 26 Avr 2017
Hi Ross,
Do you have Symbolic Math Toolbox installed? If yes, make sure it's functions are not being shadowed. You can try using the following commands to restore default MATLAB path.
restoredefaultpath
rehash toolboxcache

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by