How to find the boundary points in one direction
1 次查看(过去 30 天)
显示 更早的评论

There are set of scatter points with X and Y coordinates. I want to collect the points ( atleast a few points) which are located at the right most end of the plot.
I tried to use boundary() function and for each index provided by the function, to get to the right most point. It works if the start index of the boundary function is convinient.
Alternate logic without the use of boundary function is-
To consider each Y coordinate ( for example for i=0:0.1:1) in a 'for' loop and in that take the point with max X coordinate. and collect the X and Y coordinates in a new array. But I cant understand how to put that into a code.
I'm new to Matlab and any help or new logic will be really appreciated.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!