function [ DAT ] = gendata( M, N, len, file )
%GENDATA(M, N, len, file) Generate random data for acomms experiment
%   M = # bits per symbol
%   N = # Channels (rows) to create data for
%   len = # of symbols (columns) of data
%   file = .m file to put data in (Include extension in argument)



DAT = round(rand(N, len)*(2^M-1));


