How can I solve this Problem?

can someone help me please!!
my task is to check if x is greater or less than 0 dependet on c."""""( the same also for y)"""""""
And c must be in interval [0,1/4[
The mathematical solution is obvious but I have to implement it in Matlab-code
code:
syms n c
v = n*(1-n)-c
g = solve(v,n);
g1=g(1);
g2=g(2);
dv = diff(v);
x = subs(dv,n,g1)
y = subs(dv,n,g2)
thanks!!

回答(1 个)

Star Strider
Star Strider 2018-8-16

0 个投票

Use the isAlways (link) function.

此问题已关闭。

产品

版本

R2018a

提问:

2018-8-16

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by