System identification via Walsh functions