Smoothing Numerical Differentiation Result
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ahmed Zankoor
am 23 Apr. 2018
Kommentiert: Ahmed Zankoor
am 26 Apr. 2018
I want to get the derivative of this S-shaped curve this way (x*(dy/dx)) which is expected to be like the normal distribution bell-shaped curve, I used x(2:end).*diff(y)./diff(x) , gradient function and central difference method. but the result was very noisy since it is a numerical differentiation. My question, is there a way to smooth the result to get a better derivative curve?
0 Kommentare
Akzeptierte Antwort
Jim Riggs
am 23 Apr. 2018
Bearbeitet: Jim Riggs
am 23 Apr. 2018
The attached file contains some higher-order methods for computing numerical derivatives. You can start with this. For very well behaved data, further smoothing might be achieved by curve fitting a function to the data and using the function derivative. If a more general method is desired, there are a number of ways to filter noisy data (for example, Matlab function "filter").
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation 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!