RobustDetrend

Use robustfit to detrend polynomial trend in data
216 download
Aggiornato 2 nov 2018

Visualizza la licenza

Find the best polynome order and detrend data while preserving peak features in data.
To generate the miniature :

x = linspace(0,1,1000)';
peak = 0.008.*exp(-((x-0.3).^2)./(2*(0.05^2)))+0.01.*exp(-((x-0.7).^2)./(2*(0.025^2)));
peak = peak+polyval([-0.021,+0.008,0.021,0],x);
peak = peak-0.001+0.002.*rand(size(peak));
[polorder,~,trend] = RobustDetrend(peak,6,0.975,x);
figure; plot(x,peak,'b.',x,trend,'r--')

Cita come

Geoffrey Schivre (2026). RobustDetrend (https://it.mathworks.com/matlabcentral/fileexchange/69303-robustdetrend), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2018a
Compatibile con R2017b e release successive
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Data Preprocessing in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
9.4.0