Stepwise function in Matlab
显示 更早的评论
Hello , I have a question and would be very grateful if someone can help me ; I have a set of data , as attached , having stepwise trend I want to find the best function to approximate and fit the data .Can you please guide me about the way that I can fit my data by a stepwise function?is it possible to fit the stepwise data by an exponential function like y=a*exp(-b*x) and find the optimum value of a and b for each interval ?Help me in coding that ?
Thanks in advance
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!