Find Centroid of area with 4 pouints

12 views (last 30 days)
Ali Reza
Ali Reza on 2 Dec 2021
Answered: Bjorn Gustavsson on 2 Dec 2021
Hey, I want to find a centroid of area(Xc and Yc) with 4 points in matlab, The user enters 4 points and MATLAB has to find the center point of this quadrilateral that is made with these four points, can anyone help a little?
Thanks

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 2 Dec 2021
You could make good use of this little piece of information:
HTH

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!