How to define range of the variables when numerically solving a system of algebraic equations?

1 次查看(过去 30 天)
In other words, what is the multi-variable version of the following
>> evalin(symengine, 'numeric::solve(sin(x) = x^2 - 1, x = 0..2)')
I tried this and that..
This works
syms x y; S = solve(tan(x) == exp(x), cos(y) == y/x)'
but when I specify the range for x, it does not
syms x y; S = solve(tan(x) == exp(x), cos(y) == y/x, x = 0..2)'
and this gives empty sum.. even before I set any ranges
evalin(symengine, 'numeric::solve(tan(x) = exp(x), cos(y) = y/x)')
Can someone type me an example of numeric multi-variable please?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by