This code helps solving the problem, However, it needs some modifications and setting treshholds.
fit curve to oscillatory data
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a set of data (an example is attached) and I want to fit the a specific curve and find a parameter. However, I am so new this this signal processing world and I am confused with the different terms and commands. I have this function
for one sinisoida wave where i is sqrt(-1); ω is angualr frequency; t is time and B and c are constatnts where B is not known. I imagine for a wave like what I have attached it should be
. Σ comes into play since the signal shape tells that it is a combination of sinosoidal waves otherwise there would be no Σ in the formula.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270924/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270925/image.png)
Anybody can help me doing this in order to find the right fit to the dat to find B ? (my understanding is that it might be
where Bj is connected to each wave that can perhaps be found using Fourier series; not sure anyway)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270913/image.png)
Thanks
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!