文件名称:1
介绍说明--下载内容均来自于网络,请自行研究使用
在MATLAB中表示信号的常规格式是向量或者矩阵。本示例中利用randint 函数来产生一个表示二进制数据序列连续值的列向量。其中二进制数据序列的长度(即为列向量中的行数)设置为30,000。
下面的代码同时还绘制了数据序列的杆图(stem plot),用来显示数据的0、1值。你所产生的图可能与次示例中的图有一点不一样,这是因为本示例中应用了随机数。
-Said signal in MATLAB conventional format is a vector or matrix. In this example use randint function to generate a column vector of a sequence of binary data, said successive values. Wherein the length of the binary data sequence (i.e., the number of rows in the column vector) is set to 30,000. The following code sequence of data is also plotted in Fig rod (stem plot), the value 0 is used to display the data. You may have generated the second example of FIG FIG little different, this is because the present example, the application of the random number.
下面的代码同时还绘制了数据序列的杆图(stem plot),用来显示数据的0、1值。你所产生的图可能与次示例中的图有一点不一样,这是因为本示例中应用了随机数。
-Said signal in MATLAB conventional format is a vector or matrix. In this example use randint function to generate a column vector of a sequence of binary data, said successive values. Wherein the length of the binary data sequence (i.e., the number of rows in the column vector) is set to 30,000. The following code sequence of data is also plotted in Fig rod (stem plot), the value 0 is used to display the data. You may have generated the second example of FIG FIG little different, this is because the present example, the application of the random number.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.doc