plot_binary

Plot a binary stream

Séquence d'appel

plot_binary(b)

Paramètres

b:

Binary vector (two values)

Description

This function just plots a binary sequence (1d vector), and ajusts the viewing area so as to avoid to cut the min and max value.

Exemple

x = prbs(50); // Sequence of 50 random bits
scf(0); clf();
plot_binary(x);

Random binary sequence