Undefined function 'curveintersect' for input arguments of type 'double'.

1 回表示 (過去 30 日間)
Mustafa
Mustafa 2013 年 4 月 26 日
I have two non-linear sets of data A & B which I have plotted against specific variable(K) on the same graph. Neither A nor B have a common data point at which they intersect, however, when their dots are connected and they are graphed, the lines do intersect. Is there a command to calculate the values at this point? when I use curveintersect function, Undefined function 'curveintersect' for input arguments of type 'double'.

回答 (1 件)

Mahdi
Mahdi 2013 年 4 月 26 日
curveintersect is not a built-in function in MATLAB, so you cannot use it unless you have made a function file yourself.
Perhaps this would help:
Alternatively, you can use interpolating (interp1) functions and see where they intersect.

カテゴリ

Help Center および File ExchangeDiscrete Data Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by