結果 : matlab square wave without square function