| Filter Design Toolbox | ![]() |
Return a QR-decomposition-based least squares lattice adaptive filter object
Syntax
Description
ha = adaptfilt.qrdlsl(l,lambda,delta,coeffs,states)
returns a QR-decomposition-based least squares lattice adaptive filter ha.
Input Arguments
Entries in the following table describe the input arguments for adaptfilt.qrdlsl.
adaptfilt.qrdlsl Object Properties
Since your adaptfilt.qrdlsl filter is an object, it has properties that define its behavior in operation. Note that many of the properties are also input arguments for creating adaptfilt.qrdlsl objects. To show you the properties that apply, this table lists and describes each property for the filter object.
Examples
Implement Quadrature Phase Shift Keying (QPSK) adaptive equalization using a 32-coefficient adaptive filter.
D = 16; % Number of samples of delay b = exp(j*pi/4)*[-0.7 1]; % Numerator coefficients of channel a = [1 -0.7]; % Denominator coefficients of channel ntr= 1000; % Number of iterations s = sign(randn(1,ntr+D))+j*sign(randn(1,ntr+D)); % Baseband QPSK % signal n = 0.1*(randn(1,ntr+D) + j*randn(1,ntr+D)); % Noise signal r = filter(b,a,s)+n; % Received signal x = r(1+D:ntr+D); % Input signal (received signal) d = s(1:ntr); % Desired signal (delayed QPSK signal) lam = 0.995; % Forgetting factor del = 1; % Soft-constrained initialization factor ha = adaptfilt.qrdlsl(32,lam,del); [y,e] = filter(ha,x,d); subplot(2,2,1); plot(1:ntr,real([d;y;e])); title('In-Phase Components'); legend('Desired','Output','Error'); xlabel('Time Index'); ylabel('Signal Value'); subplot(2,2,2); plot(1:ntr,imag([d;y;e])); title('Quadrature Components'); legend('Desired','Output','Error'); xlabel('Time Index'); ylabel('Signal Value'); subplot(2,2,3); plot(x(ntr-100:ntr),'.'); axis([-3 3 -3 3]); title('Received Signal Scatter Plot'); axis('square'); xlabel('Real[x]'); ylabel('Imag[x]'); grid on; subplot(2,2,4); plot(y(ntr-100:ntr),'.'); axis([-3 3 -3 3]); title('Equalized Signal Scatter Plot'); axis('square'); xlabel('Real[y]'); ylabel('Imag[y]'); grid on;
See Also
adaptfilt.qrdrls, adaptfilt.gal, adaptfilt.ftf, adaptfilt.lsl
References
S. Haykin, Adaptive Filter Theory, 2nd Edition, Prentice Hall, N.J., 1991
| adaptfilt.pbufdaf | adaptfilt.qrdrls | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |