How to use harmonic fitting method
显示 更早的评论
Hi,
Please, how can I use Harmonic fiting for the attached data to get a smooth fit.
5 个评论
Torsten
2023-9-20
Where are the values of the variable you want to plot the data against (time or whatever) ?
TTA
2023-9-20
@TTA, Like this?
y = load('darta1.txt');
x = linspace(10, 60, numel(y));
plot(x, y, 'linewidth', 1.5), grid on
xlabel('x'), ylabel('y')
TTA
2023-9-20
Torsten
2023-9-20
Tell us precisely what you define as your approximating "harmonic".
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


