curve start and finish at [0 0] [0 365] respectively?

1 回表示 (過去 30 日間)
Davide Cerra
Davide Cerra 2018 年 12 月 10 日
回答済み: KSSV 2018 年 12 月 10 日
how can i impose the fitting curve to start from [0 0 ] and finish in [0 365] ? possibly using curve fitting toolbox?
  1 件のコメント
Philip G
Philip G 2018 年 12 月 10 日
There are multiple ways to do this:
Trim your data before ... e.g.
x_new = x(x>=0 && x<=365);
same for Y of course
Trim your data in the curve fitting app.
e.g. under tools - exclude outliers
or in the fit options you can specify a range
Fit manually

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

回答 (1 件)

KSSV
KSSV 2018 年 12 月 10 日
Let (x,y) be your data.
idx = y >= 0 & y <= 360 ;
x = x(idx) ; y = y(idx) ;

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by