MATLAB Answers

system on inequations of a problem in mathematic

2 views (last 30 days)
abd elkarim
abd elkarim on 28 Aug 2019
Commented: 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.

Accepted Answer

Torsten on 29 Aug 2019
Edited: Torsten on 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 Comment

Sign in to comment.

More Answers (0)