Finding intersection of curve and line.

1 回表示 (過去 30 日間)
A Akhilesh
A Akhilesh 2021 年 6 月 8 日
回答済み: KSSV 2021 年 6 月 8 日
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.

回答 (1 件)

KSSV
KSSV 2021 年 6 月 8 日

カテゴリ

Help Center および File ExchangeGravitation, Cosmology & Astrophysics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by