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