<< plot_ber Graphics plot_const >>

comm_tbx >> Communication toolbox > Graphics > plot_binary

plot_binary

Plot a binary stream

Calling Sequence

plot_binary(b)

Parameters

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.

Example

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

Random binary sequence

See also

Authors


Report an issue
<< plot_ber Graphics plot_const >>