How to fit an exponential curve for every column in a matrix?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
parslee
el 17 de Mzo. de 2022
Comentada: parslee
el 17 de Mzo. de 2022
I have a matrix of 257x36 and each column represents a different data set.
I need to apply an exponential fit to each column and also store the fit values.
How can I go about doing this?
2 comentarios
Torsten
el 17 de Mzo. de 2022
And what are the corresponding x-values to the y-values in the columns ?
Respuesta aceptada
David Hill
el 17 de Mzo. de 2022
for k=1:36
B{k}=fit((1:257)',A(:,k),'exp1');
end
Más respuestas (0)
Ver también
Categorías
Más información sobre Fit Postprocessing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!