Mercurial > repos > public > sbplib
view labelTask.m @ 651:4ee7d15bd8e6 feature/d1_staggered
Fix roundoff bug in diracDiscr and improve test.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 15 Nov 2017 14:58:13 -0800 |
parents | 1f5f988e9682 |
children |
line wrap: on
line source
function o = labelTask(in) switch class(in) case 'char' fprintf(in); o = tic(); case 'uint64' o = toc(in); fprintf(' - done %fs\n', o); otherwise error('Unknow input type: %s', class(in)) end