Finding intersection of curve and line.
조회 수: 1 (최근 30일)
이전 댓글 표시
i am working on a matlab code for krylovs method for calculating statical stability of ship hence as in the method i am trying to find intersection of a curve (station of ship) and a straing line (waterline of ship) i only have points for both the curve and line. it is working with the any randon vlues but when in input the offsets of the ship for calculation i am getting the singular matrix error. the first column in excel file A is my y coordinate and further colums B, C.... are x coordinates of each station like (A, B) plotting all points gives me a curve.
linke the plot in double_body_plan i need to find all intersection the plotted curves and a straingt line.
댓글 수: 0
답변 (1개)
KSSV
2021년 6월 8일
Use this file exchange function InterX: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Gravitation, Cosmology & Astrophysics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!