Skip to content

Consider using filtfilt instead of lfilter for interp #1

Description

@detly

I found that in your implementation of interp (in the multirate module), if you use filtfilt instead of lfilter, and don't cut off the results (ie. with [r*l+1:-1]) the result is much closer to that produced by MATLAB's interp. In particular, it's closer to meeting the constraint that existing points are preserved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions