smoothing a graph using matlab
조회 수: 2 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!