www.gusucode.com > wavelet工具箱matlab源码程序 > wavelet/wavelet/@laurpoly/reflect.m

    function Q = reflect(P)
%REFLECT Reflection for a Laurent polynomial.
%   Q = REFLECT(P) returns the Laurent polynomial Q obtained by
%   a reflection on the Laurent polynomial P: Q(z) = P(1/z).
%   
%   See also DYADDOWN, DYADUP, MODULATE, NEWVAR.

%   M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 21-Mar-2001.
%   Last Revision: 13-Jun-2003.
%   Copyright 1995-2004 The MathWorks, Inc.

Q = newvar(P,'1/z');