1 / 29

Filter Examples Lab View William Rose

Filter Examples Lab View William Rose. filter1.vi. filter1.vi. filter1.vi. Zoom in to beginning to see filter edge effects. filter2.vi. Similar to filter1.vi, but uses Zero Phase.vi. Another example of edge effects. Another example of edge effects at each end of a data record.

hateya
Download Presentation

Filter Examples Lab View William Rose

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FilterExamplesLabViewWilliam Rose Department of Kinesiology and Applied Physiology

  2. filter1.vi Department of Kinesiology and Applied Physiology

  3. filter1.vi Department of Kinesiology and Applied Physiology

  4. filter1.vi Zoom in to beginning to see filter edge effects. Department of Kinesiology and Applied Physiology

  5. Department of Kinesiology and Applied Physiology

  6. filter2.vi Similar to filter1.vi, but uses Zero Phase.vi. Department of Kinesiology and Applied Physiology

  7. Department of Kinesiology and Applied Physiology

  8. Department of Kinesiology and Applied Physiology

  9. Department of Kinesiology and Applied Physiology

  10. Department of Kinesiology and Applied Physiology

  11. Another example of edge effects. Department of Kinesiology and Applied Physiology

  12. Another example of edge effects at each end of a data record. Department of Kinesiology and Applied Physiology

  13. Fix for FilterEdgeEffectsProblem Extend the record by adding a segment of time-reversed, inverted-about-the-endpoint data on each end. Filter the extended record. Cut off the extended parts. extend_data.vi doesstep 1. Department of Kinesiology and Applied Physiology

  14. extend_data.vi Department of Kinesiology and Applied Physiology

  15. extend_data_test.vi Department of Kinesiology and Applied Physiology

  16. Department of Kinesiology and Applied Physiology

  17. filter3.vi filter3.vi calls extend_data.vi to extend the raw data, then filters the extended data, then cuts off the extended parts. Department of Kinesiology and Applied Physiology

  18. filter3.vi Department of Kinesiology and Applied Physiology

  19. Department of Kinesiology and Applied Physiology

  20. filter3.vi No more edge problems. Department of Kinesiology and Applied Physiology

  21. filter1.m Department of Kinesiology and Applied Physiology

  22. filter1.m Department of Kinesiology and Applied Physiology

  23. filter1.m Zoomed-in view of start Department of Kinesiology and Applied Physiology

  24. Phase-lessPhiltering • Use filtfilt.m in Matlab. • Labview routine filter2.vidoesforward –backwardfilteringwithZero Phase.vi, but it has edgeeffectsatstart and finish. • We do not give a Matlab analog to filter2.vi, because, by default, Matlab’sforward-backwardfilter (filtfilt.m) eliminatesedgeeffects. Department of Kinesiology and Applied Physiology

  25. filter3.m Highlighted lines differ from filter1.m. Department of Kinesiology and Applied Physiology

  26. filter3.m No visible edge effects. Department of Kinesiology and Applied Physiology

  27. filter3.m No visible edge effects at either end. Department of Kinesiology and Applied Physiology

  28. filter3.m No visible edge effects. Data file: force_isometricelbowext_healthyadult_shortseg.txt Department of Kinesiology and Applied Physiology

  29. filter3.m No visible edge effects at either end. Data file: force_isometricelbowext_healthyadult_shortseg.txt Department of Kinesiology and Applied Physiology

More Related