how to make intersection?

how i can eliminate the lines in the rectangular and get the intersection point in the first figure ?
and in second one how i can make the zigzag shape in the blue shape if i have the points of the blue one plz help me?

Answers (1)

KSSV
KSSV on 5 Oct 2020
Read about knnsearch. With this you can pick the nearest point to the given point. Or you can use this file exchange:

Categories

Find more on Interpolation in Help Center and File Exchange

Products

Asked:

on 5 Oct 2020

Answered:

on 5 Oct 2020

Community Treasure Hunt

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

Start Hunting!