www.pudn.com > tfarma10.rar > fft_timereverse.m, change:2003-09-17,size:707b

function Y= fft_timereverse(X) % function Y= fft_timereverse(X) % This file is part of the TFPM toolbox v0.5 (c) % michael.jachan@tuwien.ac.at and underlies the GPL. % % Comutes the time-reverse vector of the vector X. If X is a % matrix, every column is reversed. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% if(0)% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% X= [1 4;2 3;3 2;4 1]; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end;% TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Y= [X(1, :); flipud(X(2:end, :))];