find intersection between horizontal line and a set of (x,y) data and find the length of intersected line segments above the given (x,y) data
15 次查看(过去 30 天)
显示 更早的评论
I have a river cross section data as a set of (x,y) points.
I have to find the width of the water surface for given water level elevation.
For example, the river cross section data joined with straight lines (red line) is as shown in the attached image and blue line is the given water surface elevation.
The water surface elevation intersects the cross section at four points here (it could be any number ranging from 2 to n)
What i need to do is to find the lengths of the intersected line segments representing water surface which are above the cross section.
Need some quick ideas.
0 个评论
采纳的回答
Ameer Hamza
2020-9-30
Check this FEX package: https://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!