clc; // function [y]=delta(t) if t==0 y=1 else y=0 end endfunction