Your solution is fastest so far.
Good job, Athi.
@Athi, your solution contains many "magic" constant variables that I don't know how you got.
William's solution is much easier to understood, although it is slower than yours.
Thanks li haitao.
Create a cell array out of a struct
508 Solvers
Omit columns averages from a matrix
527 Solvers
Return a list sorted by number of consecutive occurrences
173 Solvers
463 Solvers
2455 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!