Does matlab have any catenary curve fitting toolbox ?

2 ビュー (過去 30 日間)
VIGNESH BALAJI
VIGNESH BALAJI 2023 年 8 月 4 日
コメント済み: Matt J 2023 年 8 月 4 日
I would like to know the possible options matlab has for catenary curve fitting as toolbox
  1 件のコメント
VIGNESH BALAJI
VIGNESH BALAJI 2023 年 8 月 4 日
@John D'Errico I understand that the use case is limited. I was just curious whether there was an existing tool which I was unaware of. I have seen users writting tools and promoting it in the community. I saw few tools like -
  1. https://nl.mathworks.com/matlabcentral/fileexchange/87584-object-oriented-tools-for-fitting-conics-and-quadrics
  2. https://nl.mathworks.com/matlabcentral/fileexchange/38550-catenary-hanging-rope-between-two-points
I understood that it is not excistent, so I am in the process of writting a tool by combining good features of other tools and putting it back in the community.

サインインしてコメントする。

回答 (2 件)

Matt J
Matt J 2023 年 8 月 4 日
  4 件のコメント
VIGNESH BALAJI
VIGNESH BALAJI 2023 年 8 月 4 日
@Matt J thanks for the suggestion. A quick clarification, fmincon is an nonlinear optimizer with constraints and whereas fit is also an non linear optimizer without constraints right ?
Matt J
Matt J 2023 年 8 月 4 日
fit() can process simple upper and lower bounds, but no constraints more complicated than that.

サインインしてコメントする。


John D'Errico
John D'Errico 2023 年 8 月 4 日
移動済み: John D'Errico 2023 年 8 月 4 日
Adding to what @Matt J suggested, you might use nlinfit, lsqnonlin, or any general optimizer, since you can always form a sum of squares.
Why would MATLAB need a specific catenary fitting tool? Note that your last many questions, all about catenary fitting are literally the only ones I recall about fitting a catenary. So why should there be some specific tool for the purpose? You don't write specific tools and toolboxes just in case one person comes along every 30 years. And worse, your specific problem seems to be one that is very non-standard, where the curve is rotated in space. For something like that, you just write code to fit the need, instead of hoping for some never used tool to exist in advance.

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by