design function determines whether the point is inside a contour, outside, or lies on an edge (or coincides with a vertex). It returns positive (inside),negative (outside), or zero (on an edge) value, correspondingly. When measureDist=false , the return value is +1, -1, and 0, respectively. Otherwise, the return value is a signed distance between the point and the nearest contour edge.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Determine if a Given Number is a Triangle Number
398 Solvers
-
Project Euler: Problem 7, Nth prime
1752 Solvers
-
Set some matrix elements to zero
624 Solvers
-
Combinations without using nchoosek
137 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
254 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!