how to fit an exponential curve to my signal in a plot?

조회 수: 4 (최근 30일)
2NOR_Kh
2NOR_Kh 2022년 7월 31일
댓글: Star Strider 2022년 8월 1일
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
Les Beckham
Les Beckham 2022년 7월 31일
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.
2NOR_Kh
2NOR_Kh 2022년 8월 1일
편집: 2NOR_Kh 2022년 8월 1일
it's a line of ultrasound in the liver. Based on the physics of ultrasound, the sound will attenuate as a function of time or depth. This attenuation is an exponential term, a decay exponential term. The simplest way to estimate attenuation is to find an exponential curve that will fit the peaks of the signal. I know there is a bunch of fit distribution functions in MATLAB but I couldn't find anything which will fit a curve based on the peaks in the diagram.
I upploaded my signal.

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2022년 7월 31일
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
2NOR_Kh
2NOR_Kh 2022년 8월 1일
I'll start fixing it today. Even I myself don't have any idea how this should look like but this exponential curve is comming from the physics of ultrasound and it should work.
Star Strider
Star Strider 2022년 8월 1일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by