smoothing a graph using matlab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1013785/image.png)
how can I smooth data imported from one column (Excel sheet) using Matlab , Thanks
1 Commento
Walter Roberson
il 28 Mag 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 ?
Risposte (1)
Ganesh Naik
il 29 Mag 2022
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')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1014810/image.jpeg)
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!