clc; clear all; close all; %产生随机的[0,7]范围的整数 len = 800; A = round(7*rand(1,800)); dlmwrite ('data.txt',A);