smoothing a graph using matlab
1 次查看(过去 30 天)
显示 更早的评论
how can I smooth data imported from one column (Excel sheet) using Matlab , Thanks
1 个评论
Walter Roberson
2022-5-28
Are you expecting the techniques to be different than for https://www.mathworks.com/matlabcentral/answers/1728795-smoothing-a-graph-using-matlab?s_tid=srchtitle ?
回答(1 个)
Ganesh Naik
2022-5-29
You can use the "smooth: in built function in matlab to smooth the signal. Here is one solution
close all;
clc;
data = readmatrix('3.xlsx')
B = smoothdata(data);
plot(data,'-o'); hold on; plot(B,'-x')
legend('Original Data','Smoothed Data')
0 个评论
另请参阅
类别
在 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!