how to make a plot smooth
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mayank Lakhani
am 11 Aug. 2015
Kommentiert: Star Strider
am 12 Aug. 2015
How to smooth a plot?
len1 = [25, 250, 500, 750, 1000];
for k1 = 1:length(len1)
standard_deviation1(k1) = std(resdphs(1:5000, len1(k1)));
end
f10 = [110, 100, 90, 80, 70];
figure(3),plot(f10, standard_deviation1);xlabel('frequency'); ylabel('standarddev');
grid
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147958/image.jpeg)
2 Kommentare
Akzeptierte Antwort
Star Strider
am 11 Aug. 2015
I’m not certain what you want to do, but you might consider experimenting with polyfit and its friends.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!