smoothing a graph using matlab

3 vues (au cours des 30 derniers jours)
Abeer Aboul Azm
Abeer Aboul Azm le 28 Mai 2022
how can I smooth data imported from one column (Excel sheet) using Matlab , Thanks
  1 commentaire
Walter Roberson
Walter Roberson le 28 Mai 2022
Are you expecting the techniques to be different than for ?

Connectez-vous pour commenter.

Réponses (1)

Ganesh Naik
Ganesh Naik le 29 Mai 2022
You can use the "smooth: in built function in matlab to smooth the signal. Here is one solution
close all;
data = readmatrix('3.xlsx')
B = smoothdata(data);
plot(data,'-o'); hold on; plot(B,'-x')
legend('Original Data','Smoothed Data')

Community Treasure Hunt

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

Start Hunting!

Translated by