How to generate all the possible data points in this 2D triangle?
Show older comments
Hi,

I have a blue triangle in a 2-D V-S space.
How can I know the [s v] values of all the possible points within the blue triangle area?
4 Comments
Torsten
on 18 Jan 2023
These are all:
s>=0 intersect v>=0 intersect s+v <= 1
Salad Box
on 18 Jan 2023
Torsten
on 18 Jan 2023
s >=0
v >= 0
s + v <= 1
The blue region is characterized as the set of pairs (s,v) that satisfy all three constraints.
Never heard of linear programming ? Simplex algorithm ? Optimization under constraints ? Linprog ?
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
