Simple question about curve fitting
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!