MATLAB Answers


system on inequations of a problem in mathematic

Asked by abd elkarim on 28 Aug 2019
Latest activity Commented on by abd elkarim on 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


Sign in to comment.

1 Answer

Answer by Torsten
on 29 Aug 2019
Edited by Torsten
on 29 Aug 2019
 Accepted Answer

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 Comment

Thank you very much
that's what i need

Sign in to comment.