how to fit an exponential curve to my signal in a plot?
4 views (last 30 days)
Show older comments
I have a signal and I should fit an exponential curve to it. This curve should be made based on the max imum peaks in the signal. To make it more clear I attached a photo of what I am looking for.
I appreciate any help
2 Comments
Les Beckham
on 31 Jul 2022
That signal doesn't look even remotely like an exponential. You need to provide more information about what your goal is. For example, why do you need to do such a curve fit.
Also, it is always easier to get help if you provide your data and whatever code you have done so far to try to achieve your goals. Then we can provide specific help with specific issues.
Currently, this question is much too vague.
Answers (1)
Star Strider
on 31 Jul 2022
It would help to have the signal. There appears to be high-frequency noise, so the first step would be to calculate the one-sided fft, amd then using that information, design a lowpass or bandpass filter to filter it out, using the 'ImpulseResponse','iir' name-value pair for best results. The envelope function would then be helpful in defining the exponential characteristic.
I doubt that without some pre-processing it would be possible to define an exponential envelope for those data.
6 Comments
Star Strider
on 1 Aug 2022
I am not certain what your data are, so I cannot suggest any other approaches. The one file that was supplied was significantly different from the plot image in the original post. I have no idea how — or if — they are related.
If you have not already searched the literature, the best option would be to do a PubMed search to see how others have approached this problem. Ultrasound has been available for about a half century, so there is likely literature on the problem you are working with that could make the analysis easier.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!