framestatusconversiondemoresult3.m

来自「清华大学出版社 邵玉斌编写的《通信系统建模与仿真实例分析》一书的所有MATLAB」· M 代码 · 共 36 行

M
36
字号
>> whos
Name            Size       Bytes  Class
  FrameFmt        6x2        96  double array % 基于帧的信号
  SampleOut       2x2x3      96  double array % 基于样值的信号
  SmplFmt         2x2x3      96  double array % 由帧格式转换得到的基于样值的信号
  tout            3x1        24  double array % 仿真时间序列
Grand total is 39 elements using 312 bytes
>> FrameFmt     % 帧格式以一个2维数组存放
FrameFmt =
     1     2    % 第1帧
     3     4    % 第1帧
     1     2    % 第2帧
     3     4
     1     2    % 第3帧
     3     4
>> SampleOut    % 基于样值的信号格式则是一个3维数组
SampleOut(:,:,1) =
     1     2     % 0秒时刻的样值矩阵
     3     4
SampleOut(:,:,2) =
     1     2     % 1秒时刻的样值矩阵
     3     4
SampleOut(:,:,3) =
     1     2     % 2秒时刻的样值矩阵
     3     4
>> SmplFmt     % 由帧格式数据转换得到的基于样值的信号也是以3维数组形式存储的
SmplFmt(:,:,1) =
     1     2   % 第1帧的对应的样值矩阵
     3     4
SmplFmt(:,:,2) =
     1     2  % 第2帧的对应的样值矩阵
     3     4
SmplFmt(:,:,3) =
     1     2  % 第3帧的对应的样值矩阵
     3     4
>> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?