code to obtain better curves
Mostra commenti meno recenti
I am new with matlab and i am having this following problem. i have a little noise on my plots.
I need to smooth the curves. could you please tell me what i should do to achieve that. i was thinking in applying some filter but i don't really know if it is the appropriate thing to do in matlab, and if so what kind of filter to use. I would be very grateful if you could help me also with some code. i need an automatic way to do this since i have kind of 60 plots i need to solve this type of problem using matlab, and i am new with this software.
thank you so so much guys!
3 Commenti
Jan
il 25 Set 2012
Please do not post graphics in DOCX format. A picture file would be much smarter. XLSX is not a useful format also, because you need addiotnal programs to read it.
Jan
il 25 Set 2012
When I click on the PHP link you have posted, I get an error=8 message and I'm asked to login. I will not sign in an internet service only to see a picture for a question. Please send a mail to MathWorks and ask for the possibility to host picture directly. You find the mail address on the bottom of this page. I hope that this feature is implemented, when 1000 users ask for it.
Ryan
il 25 Set 2012
Do you have the curve fitting toolbox? If so, type help smooth in the Matlab command line. Else you'll need to use help filter.
Risposta accettata
Più risposte (1)
Kevin Claytor
il 25 Set 2012
0 voti
If you have the curve-fitting toolbox, smooth might be a good place to start; http://www.mathworks.com/help/curvefit/smooth.html
There is also the built-in filter function; http://www.mathworks.com/help/matlab/ref/filter.html. Here you have to design the filter; as per their example, you can do simple N point averaging with the filter function "ones(1,N)/N".
Categorie
Scopri di più su Smoothing and Denoising in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!