MATLAB如何实现多个指数衰减函数的拟合?

想要拟合的表达式如图所示。文中提到:

In this process, ai’s are the fitting parameters to be evaluated, whereas τi’s are the predefined constants. For the fitting function, we typically use 100 exponentials with time constants τi that are equally spaced logarithmically in time. Positive (negative) values of ai correspond
to the trapping (detrapping) processes. ai represents the magnitude of the trapping (detrapping) process of time constant τi. Our measurement and analysis are carried out in the 10^-3 to10^3 s range
 

你好,我是有问必答小助手。为了技术专家团更好地为您解答问题,烦请您补充下(1)问题背景详情,(2)您想解决的具体问题,(3)问题相关代码图片或者报错信息。便于技术专家团更好地理解问题,并给出解决方案。

您可以点击问题下方的【编辑】,进行补充修改问题。