Simple question about curve fitting
Ältere Kommentare anzeigen
Hi everyone! I have a question about fitting a curve: I have two vectors x and y of same length and the curve y(x). I want to fit this curve with a gaussian and I use the command
fit(x,y,'gauss2')
How can I fit my curve with this function but only between two points (x1,y1) and (x2,y2), where x1,x2 are two elements of vector x and y1,y2 the corresponding values of vector y? thank you in advance
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!