curve fitting : Error computing Delaunay triangulation. Please try again with different data.

dear all
i have data point like below :
s =
0 0.0200 0.0400 0.0600 0.0800
y =
0 0 0 0 0
h =
1.0e-03 *
0 -0.0578 -0.2061 -0.4013 -0.6146
and i want to fite smooth curve and not a surface from these data for example using interpolant and cubic method if possible or smth els
when i use matlab tool box i got this error :
Error computing Delaunay triangulation. Please try again with different data.
and i really apreciated if some one can help me to do this in cod and not matlab toolbox and how can Restrict the data range from 0 to my last point mean :[0.08 0 -0.6146]

1 件のコメント

shahin hashemi
shahin hashemi 2018 年 1 月 8 日
and i should mention that i want this curve fitting in 3 dimension

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

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 1 月 8 日

0 投票

Fit in 2d instead of 3d. Your y is constant, which causes problems in computing the surface.

3 件のコメント

shahin hashemi
shahin hashemi 2018 年 1 月 8 日
thank you for your attention mr walter but it is just one of my data points and others y arent zero and i need line and not a surface and i dont want to use curve fitting toolbox and i need to cod
i really appreciated if you could help me
shahin hashemi
shahin hashemi 2018 年 1 月 8 日
i mean if here zero y is problem you can imagine that my others y data point arent constant
Walter Roberson
Walter Roberson 2018 年 1 月 8 日
What sequence of steps are you following that leads to this message?
Can you attach your data as a .mat ?

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

カテゴリ

ヘルプ センター および File ExchangeDelaunay Triangulation についてさらに検索

質問済み:

2018 年 1 月 8 日

コメント済み:

2018 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by