comparison scripts/signal/fftfilt.m @ 30330:01de0045b2e3

maint: Shorten some long lines to <= 80 characters (bug #57599) * audiorecorder.m, disable_diagonal_matrix.m, disable_permutation_matrix.m, disable_range.m, atan2d.m, accumdim.m, bitcmp.m, blkdiag.m, cplxpair.m, dblquad.m, integral2.m, integral3.m, interp2.m, interpn.m, logspace.m, delaunayn.m, griddata3.m, imread.m, genvarname.m, strread.m, nthargout.m, parseparams.m, lsqnonneg.m, qp.m, sqp.m, material.m, __gnuplot_legend__.m, plot.m, __gnuplot_drawnow__.m, polygcd.m, polyvalm.m, setdiff.m, fftfilt.m, eigs.m, betainc.m, cosint.m, factor.m, gallery.m, toeplitz.m, discrete_cdf.m, discrete_inv.m, discrete_pdf.m, iqr.m, kurtosis.m, quantile.m, bin2dec.m, isstrprop.m, mat2str.m, strchr.m, strsplit.m, __have_feature__.m, datenum.m, datevec.m, eomday.m, weboptions.m: maint: Shorten some long lines to <= 80 characters.
author Rik <rik@octave.org>
date Tue, 23 Nov 2021 13:28:34 -0800
parents 7854d5752dd2
children 796f54d4ddbf
comparison
equal deleted inserted replaced
30329:81d26e8481a6 30330:01de0045b2e3
141 %! assert (fftfilt (b, x ), [1 1 0 0 0 0 0 0 0 0] ); 141 %! assert (fftfilt (b, x ), [1 1 0 0 0 0 0 0 0 0] );
142 %! assert (fftfilt (b, x.'), [1 1 0 0 0 0 0 0 0 0].'); 142 %! assert (fftfilt (b, x.'), [1 1 0 0 0 0 0 0 0 0].');
143 %! assert (fftfilt (b.',x ), [1 1 0 0 0 0 0 0 0 0] ); 143 %! assert (fftfilt (b.',x ), [1 1 0 0 0 0 0 0 0 0] );
144 %! assert (fftfilt (b.',x.'), [1 1 0 0 0 0 0 0 0 0].'); 144 %! assert (fftfilt (b.',x.'), [1 1 0 0 0 0 0 0 0 0].');
145 %! assert (fftfilt (b, [x.' x.']), [1 1 0 0 0 0 0 0 0 0].'*[1 1]); 145 %! assert (fftfilt (b, [x.' x.']), [1 1 0 0 0 0 0 0 0 0].'*[1 1]);
146 %! assert (fftfilt (b, [x.'+2*eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1], [false(10, 1) true(10, 1)]); 146 %! assert (fftfilt (b, [x.'+2*eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1],
147 %! [false(10, 1) true(10, 1)]);
147 148
148 %!testif HAVE_FFTW 149 %!testif HAVE_FFTW
149 %! r = sqrt (1/2) * (1+i); 150 %! r = sqrt (1/2) * (1+i);
150 %! b = b*r; 151 %! b = b*r;
151 %! assert (fftfilt (b, x ), r*[1 1 0 0 0 0 0 0 0 0] , eps ); 152 %! assert (fftfilt (b, x ), r*[1 1 0 0 0 0 0 0 0 0] , eps );