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