comparison src/DLD-FUNCTIONS/filter.cc @ 10840:89f4d7e294cc

Grammarcheck .cc files
author Rik <octave@nomad.inbox5.com>
date Sat, 31 Jul 2010 11:18:11 -0700
parents 12884915a8e4
children a4f482e66b65
comparison
equal deleted inserted replaced
10839:65bc065bec95 10840:89f4d7e294cc
281 return filter (b, a, x, si, dim); 281 return filter (b, a, x, si, dim);
282 } 282 }
283 283
284 DEFUN_DLD (filter, args, nargout, 284 DEFUN_DLD (filter, args, nargout,
285 "-*- texinfo -*-\n\ 285 "-*- texinfo -*-\n\
286 @deftypefn {Loadable Function} {y =} filter (@var{b}, @var{a}, @var{x})\n\ 286 @deftypefn {Loadable Function} {y =} filter (@var{b}, @var{a}, @var{x})\n\
287 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, @var{si})\n\ 287 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, @var{si})\n\
288 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, [], @var{dim})\n\ 288 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, [], @var{dim})\n\
289 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, @var{si}, @var{dim})\n\ 289 @deftypefnx {Loadable Function} {[@var{y}, @var{sf}] =} filter (@var{b}, @var{a}, @var{x}, @var{si}, @var{dim})\n\
290 Return the solution to the following linear, time-invariant difference\n\ 290 Return the solution to the following linear, time-invariant difference\n\
291 equation:\n\ 291 equation:\n\
297 @end tex\n\ 297 @end tex\n\
298 @ifnottex\n\ 298 @ifnottex\n\
299 \n\ 299 \n\
300 @c Set example in small font to prevent overfull line\n\ 300 @c Set example in small font to prevent overfull line\n\
301 @smallexample\n\ 301 @smallexample\n\
302 @group\n\
302 N M\n\ 303 N M\n\
303 SUM a(k+1) y(n-k) = SUM b(k+1) x(n-k) for 1<=n<=length(x)\n\ 304 SUM a(k+1) y(n-k) = SUM b(k+1) x(n-k) for 1<=n<=length(x)\n\
304 k=0 k=0\n\ 305 k=0 k=0\n\
306 @end group\n\
305 @end smallexample\n\ 307 @end smallexample\n\
308 \n\
306 @end ifnottex\n\ 309 @end ifnottex\n\
307 \n\ 310 \n\
308 @noindent\n\ 311 @noindent\n\
309 where\n\ 312 where\n\
310 @ifnottex\n\ 313 @ifnottex\n\
323 @end tex\n\ 326 @end tex\n\
324 @ifnottex\n\ 327 @ifnottex\n\
325 \n\ 328 \n\
326 @c Set example in small font to prevent overfull line\n\ 329 @c Set example in small font to prevent overfull line\n\
327 @smallexample\n\ 330 @smallexample\n\
331 @group\n\
328 N M\n\ 332 N M\n\
329 y(n) = - SUM c(k+1) y(n-k) + SUM d(k+1) x(n-k) for 1<=n<=length(x)\n\ 333 y(n) = - SUM c(k+1) y(n-k) + SUM d(k+1) x(n-k) for 1<=n<=length(x)\n\
330 k=1 k=0\n\ 334 k=1 k=0\n\
335 @end group\n\
331 @end smallexample\n\ 336 @end smallexample\n\
337 \n\
332 @end ifnottex\n\ 338 @end ifnottex\n\
333 \n\ 339 \n\
334 @noindent\n\ 340 @noindent\n\
335 where\n\ 341 where\n\
336 @ifnottex\n\ 342 @ifnottex\n\
367 N\n\ 373 N\n\
368 1 + SUM c(k+1) z^(-k)\n\ 374 1 + SUM c(k+1) z^(-k)\n\
369 k=1\n\ 375 k=1\n\
370 @end group\n\ 376 @end group\n\
371 @end example\n\ 377 @end example\n\
378 \n\
372 @end ifnottex\n\ 379 @end ifnottex\n\
373 @end deftypefn") 380 @end deftypefn")
374 { 381 {
375 octave_value_list retval; 382 octave_value_list retval;
376 383