computational efficiency of smoothing methods

2 visualizaciones (últimos 30 días)
Malak
Malak el 15 de Mayo de 2023
Comentada: Mathieu NOE el 15 de Mayo de 2023
We intend to use several smoothing techniques to smooth out some data. We have tried the following methods:
  • Gaussian-weighted moving average
  • Linear regression
  • Quadratic regression
  • Savitzky-Golay filter
All of them are giving very similar results, and it has been hard for us to decide which one would be the optimal technique to move forward with. Thus we would like to know if we can measure the computational efficiency of each technique while using them in Matlab and hence we can choose the most efficient one, since all of them are giving similar results.
So is there a way to achieve this?
Thanks in advance.
  1 comentario
Mathieu NOE
Mathieu NOE el 15 de Mayo de 2023
use tic (at the start of your code) and toc (at the end) to measure each code performance

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by