How to fit an exponential curve for every column in a matrix?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
David Hill
2022-3-17
for k=1:36
B{k}=fit((1:257)',A(:,k),'exp1');
end
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!