[y]=rectpuls(t) [y]=rectpuls(t,w)
Real or complex valued vector or matrix
Real or complex valued vector or matrix
This is an Octave function y = rectpuls(t) returns a continuous, aperiodic, unity-height rectangular pulse depending upon input t, centered about t=0 and having default width of 1. y = rectpuls(t,w) generates a rectangle of width w.