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