smoothing a graph using matlab

how can I smooth data imported from one column (Excel sheet) using Matlab , Thanks

1 Kommentar

Walter Roberson
Walter Roberson am 28 Mai 2022
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 ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ganesh Naik
Ganesh Naik am 29 Mai 2022

0 Stimmen

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')

Gefragt:

am 28 Mai 2022

Beantwortet:

am 29 Mai 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by