Hello everyone! When fitting a curve, the interval of curve x is [-3,3], and another fitted curve will exceed this interval. I don't know where the problem occurred in which piece of code.

4 ビュー (過去 30 日間)
Wesley
Wesley 2021 年 1 月 11 日
コメント済み: KSSV 2021 年 1 月 11 日
code:
load jizuobiao1.mat
f1= fit(THETA11,RHO11,'smoothingspline','SmoothingParam',0.99);%smoothingspline
plot(f1,THETA11,RHO11)
hold on
load jizuobiao2.mat
f2 = fit(THETA12,RHO12,'smoothingspline','SmoothingParam',0.99);%smoothingspline
plot(f2,THETA12,RHO12)
hold on
  1 件のコメント
KSSV
KSSV 2021 年 1 月 11 日
You asked this question already....you have not defined THETA11, THETA12 in your code.....on running your code, there is a error...it will not pop the figure attached.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by