?? tvma_gen.m
字號(hào):
function Y= tvma_Gen(e, Bnm)% function Y= tvma_Gen(e, Bnm)% This file is part of the TFPM toolbox v1.0 (c)% michael.jachan@tuwien.ac.at and underlies the GPL.% % Generates the output of cyclic shifted TVMA(0:MMA, 1/2)% models. The TV model parameters b_m[n] are given in the N x% (MMA+1) matrix Bmn, where N is the length of the input signal% vector e. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%if(0)% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%clear;tfpm;MAR = 0;LAR = 0;MMA = 3;LMA = 1;N = 16;re_im= 'r';mo_no= 'm';tfpm_file_gen;%-------------e= randn(N, 1);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%end;% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Dimensions:N= length(e);MMA= size(Bnm, 2)-1;Y= e.*Bnm(:, 1);for m= 1:MMA Y= [Y Y(:, m)+[e(N-m+1:N); e(1:N-m)].*Bnm(:, m+1)];end;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%if(0)% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%y0= tvarma_gen(e, Anm, Bnm(:, 1));y1= tvarma_gen(e, Anm, Bnm(:, 1:2));y2= tvarma_gen(e, Anm, Bnm(:, 1:3));y3= tvarma_gen(e, Anm, Bnm(:, 1:4));%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%end;% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -