generation of rectangular shape signal. for a rectangular shape of width 1, sinc result also included