Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How can I set non-consecutive 'val' for 'accumarray'?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
simple question.
Is it available to set val from 'accumarray(x,val)' which is non-consecutive?
For example,
x = size of (1500, 1 ) double , // interestrates actually,
y = size of (1500, 1 ) timestamp,
I'd like to compress y with yyyyMMWW, and x with average of matched column.
but it seems 'val' is not possbile to use with non-consecutive.
B.RGDS/Jeremy
3 comentarios
Walter Roberson
el 16 de Ag. de 2019
You should have a look at findgroups() and possibly groupstats()
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!