signal-internal            package:signal            R Documentation

_I_n_t_e_r_n_a_l _o_r _u_n_c_o_m_m_e_n_t_e_d _f_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Internal or barely commented functions.

_D_e_t_a_i_l_s:


     # MOSTLY MATLAB/OCTAVE COMPATIBLE UTILITIES
       fractdiff(x, d) # Fractional differences
       linspace(from, to, n = 500) # seq(from, to, length = 500)
       nextpow2(x) # next power of 2
       postpad(x, n) # pad \code{x} with zeros at the end for a total
     length \code{n}
                     # truncates if length(x) < n
       sinc(x) # sin(pi * x) / (pi * x)

     # MATLAB-INCOMPATIBLE UTILITIES
       logseq(from, to, n = 500) # like \code{linspace} but equally
     spaced logarithmically

     # DATA
       eps # .Machine$double.eps

     # DATA SET
       wav # example wav file audio waveshape from Octave

     # MAINLY INTERNAL, BUT MATLAB COMPATIBLE
       mkpp(x, P, d = round(NROW(P)/pp$n)) # used by \code{pchip}
       ## Construct a piece-wise polynomial structure from sample
     points x and
       ## coefficients P. 
       ppval(pp, xi) # used by \code{pchip}
       ## Evaluate piece-wise polynomial pp and points xi.
       ncauer(Rp, Rs, n) # used by \code{ellip}
       ellipke(m) # used by \code{ellip}
       cheb(n, x) # nth-order Chebyshev polynomial calculated at x
                  # used by \code{chebwin}

     # UTILITIES
       m2R(mfile, Rfile = gsub(".m$", ".R", mfile)) # crude matlab to R
     converter


