Borrar filtros
Borrar filtros

how to smooth a plot

4 visualizaciones (últimos 30 días)
joo
joo el 20 de Nov. de 2012
does anyone know what theory is beyond this use of different smoothOrder numbers? the code does central differences and gets smoother curves. but i don't know what is the theorics to justificate this increment of smoothorder. what method/theory beyond this smoothOrder increment? anyone? please. thank you.

Respuesta aceptada

Image Analyst
Image Analyst el 20 de Nov. de 2012
I don't see any smoothing going on. You're just getting the average velocity over a time of smoothOrder by doing averageVelocity = deltaX/deltaT where the delta is over a time of smoothOrder seconds (or whatever units). That would be smoother than if smoothOrder was just 1, but I don't see any signal that was smoothed. You didn't calculate an "unsmooth" velocity so dx is not smoother than that (because it doesn't exist). x wasn't smoothed - it wasn't altered in any way, you didn't even get a smooth copy of x. And of course t wasn't smoothed either.
  2 comentarios
joo
joo el 20 de Nov. de 2012
Editada: Image Analyst el 23 de Nov. de 2012
ok, i was completely wrong, thank you... so i posted a different question about it. please if you can help me i would be very grateful. http://www.mathworks.com/matlabcentral/answers/54268-velocity-and-acceleration-apply-filter
Image Analyst
Image Analyst el 23 de Nov. de 2012
Editada: Image Analyst el 23 de Nov. de 2012
I haven't the slightest idea what you're trying to ask in that question. Anyway, you accepted that one already. Also, it appears that you're changing several of your questions so much that people reading them now have no idea whatsoever how the Answers are related to your questions.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by