Why does the SOLVE function in the Symbolic Math Toolbox return an incorrect result when solving an equation with a decimal power of x?
显示 更早的评论
I am trying to solve the equation x^0.12-1=0 with the Symbolic Math Toolbox. When I execute the following code:
solve('x^0.12-1')
I receive the following result
ans =
1.
-0.500+.8660*i
-0.500-.8660*i
However, if I plug the imaginary results back into the original equation, the equality is not satisfied.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!