Produces a generalized pseudo-random binary noise test-signal.
y = gbn(N,ts,A,h,flag)
This function produces a binary sequence. This kind of testsignal has been described in .
N is the lentgh of the signal [sec].
ts is the settling time of the process [sec].
A is the amplitude of the signal.
- 0 if the process is over-damped.
- 1 if the process is oscillary (minimum phase).
- 2 if the process is oscillary (non-minimum phase).
y is a pseudo-random binary noise.
This is a top-level function that is used directly by the user.
 H. J. A. F. Tulleken, "Generalized binary noise test-signal concept for improved identification-experiment design", Automatica, vol. 26, no. 1, pp. 37-49, 1990.