How to plot 'smooth' cell array graphs
Ältere Kommentare anzeigen
Hello, I would like to 'smooth' out the curves of these plots and plot it on top of the exisitng 'noisy' graph.
for ci= 1:length(datecell)
figure,plot(datecell{ci},smcell{ci});
end
grid on;
Where it should look like the red curve:

I have tried using 'rmoutliers' or 'smooth' functions but they do not work, possibly due to bad coding.
Many thanks in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Smoothing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!