Two small but practically useful MATLAB scripts for optimal extraction of features in sampled noisy sinusoidal signals. They are useful in automatic measurement of amplitude, frequency as well as phase shift of a sampled noisy sinusoidal signal series. Detailed descriptions and user's guide are given with several application examples.
Please visit here for details
YangQuan Chen (2021). SineFit (https://www.mathworks.com/matlabcentral/fileexchange/3730-sinefit), MATLAB Central File Exchange. Retrieved .
If you get undefined function 'fmin', you can change it in sinefit.m line 17 for 'fminbnd' one.
Thank you for the function!
tested it on a lot of data. amounted to 6Gb ram. awful function for something so simple.
Undefined function 'fmin' for input arguments of type 'char'.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!