For loop to take the average of previous 10 elements and next 10 elements in an array in each step
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
mickeymouse
el 17 de Mayo de 2022
Comentada: mickeymouse
el 18 de Mayo de 2022
How can I make a for loop to go through an array (dimensions = 1 row x 383 columns) and take the average of the previous 10 elements and next 10 elements in each step, then return the new array with the same dimensions as the original (1 row x 383 columns)?
Thank you!
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Multidimensional Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!