# system on inequations of a problem in mathematic

조회 수: 1(최근 30일)
abd elkarim 28 Aug 2019
댓글: abd elkarim 29 Aug 2019
Hello, everybody
I hope that you are in a good state, i want to propose a problem that i have to know.
I'll introduce a problem that i have, it's given a cartesian coordinate (x,y) a space contains a lot of points (A,B,C,D)
So We have a points in the space of study as the image mention that :
my goal is to detect what i colored (mathematic, and informatic by matlab) or how to determinate the colored zone

댓글을 달려면 로그인하십시오.

### 채택된 답변

Torsten 29 Aug 2019
편집: Torsten 29 Aug 2019
The coloured region is defined by three inequalities:
y >= (x-x_A)/(x_B-x_A)*y_B+(x-x_B)/(x_A-x_B)*y_A
y >= (x-x_A)/(x_D-x_A)*y_D+(x-x_D)/(x_A-x_D)*y_A
y <= (x-x_B)/(x_C-x_B)*y_C+(x-x_C)/(x_B-x_C)*y_B
Is it this what you mean ?

#### 댓글 수: 1

abd elkarim 29 Aug 2019
Thank you very much
that's what i need

댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!

Translated by