curve start and finish at [0 0] [0 365] respectively?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
how can i impose the fitting curve to start from [0 0 ] and finish in [0 365] ? possibly using curve fitting toolbox?
1 Kommentar
Philip G
am 10 Dez. 2018
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
and use tools like https://de.mathworks.com/help/curvefit/excludedata.html
Antworten (1)
KSSV
am 10 Dez. 2018
Let (x,y) be your data.
idx = y >= 0 & y <= 360 ;
x = x(idx) ; y = y(idx) ;
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!