%FILTER One-dimensional digital filter.
%   Y = FILTER(B,A,X)
%   Y = FILTER(B,A,X,[],DIM)
%   [Y,Zf] = FILTER(B,A,X,Zi)
%   [Y,Zf] = FILTER(B,A,X,Zi,DIM)
%   
%   Limitations:
%   A must have no more than 10 elements. If B has more than 10 elements and A is not a scalar, then the input argument Zi and the output argument Zf are not supported.
%   
%   Example:
%    
%       x = gpuArray.rand(8, 10);
%       b = rand(5, 1);
%       a = 3;
%       dim = 2;
%       [y,zf] = filter(b,a,x,[],dim)
%   
%   returns the filtering result and final filter conditions by applying 
%   filter b to each row of data x.
%    
%   See also FILTER, GPUARRAY, GPUARRAY/FILTER2.


%   Copyright 2010-2021 The MathWorks, Inc.


