Running time Average of column values
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yash Bhati
el 19 de Oct. de 2021
Editada: Yash Bhati
el 19 de Oct. de 2021
I have to imported data form my simulation and made a table which is of Nx1 size.(N depends on number of output which i get from my simulation)
suppose my Table1 looks likes
1.10
2.20
3.20
4.40
......
now what i want is to create another Table2 which has running average of values from Table1, So my Table2 would look like
1.10
2.(10+20)/2
3.(10+20+20)/3
4.(10+20+20+40)/4
.....
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!