1function s = statsutils(x)
2% Workspace helper: named functions like this live in a plain .m file next
3% to the notebook (numbl's REPL cells can't define named functions
4% directly). Edit this file and rerun a cell — numbl picks up the change.
5s.mean = mean(x);
6s.std = std(x);
7s.range = max(x) - min(x);
8end