tfpm_plot_cmn.m

来自「用于模拟时变非平稳的ARMA过程」· M 代码 · 共 33 行

M
33
字号
function tfpm_plot_cmn(Cmn, c0l, sty, sty_re, sty_im)% function tfpm_plot_cmn(Cmn, c0l, sty, sty_re, sty_im)%   This file is part of the TFPM toolbox v0.9 (c)%   michael.jachan@tuwien.ac.at and underlies the GPL.% % Dimensions:N= size(Cmn, 1);M= size(Cmn, 2)-1;if(~max(max(abs(imag(Cmn))))>eps)   sty= 1;end;if(~sty)   plot(real(Cmn))   axis([0 N-1 -2 2])else   if(c0l)         MM= M+1;      else         MM= M;      end;   for m= 1:MM      subplot(MM, 1, MM-m+1)      hold on      plot(real(Cmn(:, M+2-m)), sty_re)      if(~isreal(Cmn(:, M+2-m)))         plot(imag(Cmn(:, M+2-m)), sty_im)      end;      axis([0 N-1 -2 2])   end;end;

⌨️ 快捷键说明

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