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

2 次查看(过去 30 天)
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

回答(1 个)

Prashant Arora
Prashant Arora 2017-4-26
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

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by