/
Instructions for Applying a Butterworth Filter Using Matla In this document the steps Instructions for Applying a Butterworth Filter Using Matla In this document the steps

Instructions for Applying a Butterworth Filter Using Matla In this document the steps - PDF document

olivia-moreira
olivia-moreira . @olivia-moreira
Follow
483 views
Uploaded On 2014-12-12

Instructions for Applying a Butterworth Filter Using Matla In this document the steps - PPT Presentation

Obtaining the dual in SPlus 1 Run the data through the Mstationary program on SPlus This program is available through the Department of Statist ics at SMU It is located at the following website httpfacultysmu eduhgray and instructions on using the M ID: 22682

Obtaining the dual

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "Instructions for Applying a Butterworth ..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

InstructionsforApplyingaButterworthFilterUsingMatlabInthisdocument,thestepsnecessaryforapplyingaButterworth ltertoM-stationarydataaregiven.ObtainingthedualinS-Plus:1.RunthedatathroughtheM-stationaryprogramonS-Plus.ThisprogramisavailablethroughtheDepartmentofStatisticsatSMU.Itislocatedatthefollowingwebsite.http://faculty.smu.edu/hgray,andinstructionsonusingtheM-stationarylibraryareincluded.2.Besuretoexportthedualbyclickingonthe\Results"tabandthenonthe\ExportDual"button.Thiswillallowtheusertosavethedataintheappropriatelocation.UsingMatlabtoButterworthlowpass lterthedata:3.ImportthedataintoMatlabbyfollowingtheinstructionsonMatlab's\ImportWizard".Forthepurposeshere,supposethedualdatasetiscalledseries1inMatlab.4.ThefollowingcommandwillcreateasecondorderlowpassButterworth lter.[b,a]=butter(2,.1);Forotherorders,importtheordernumberinplaceofthe2.5.Toapplythe ltertoseries1,usefilt=filter(b,a,series1);6.Tosavethe ltereddatainASCIIformat,thecommandissaveseries1f2.outfilt-ASCII;The lewillbesavedasseries1f2.outinASCIIformat.Foraquickreferenceforthecommandinstep4pertainingtoeach ltertype,seeTable1.1 Table1:QuickReferenceforMatlabButterworthFiltersFilterTypeCommandCommentsLowpass[b,a]=butter(2,.1);Appliesasecondorder lterthatpassesallfrequenciesbelow0.10Highpass[b,a]=butter(2,.1,'high');Appliesasecondorder lterthatpassesallfrequenciesabove0.10Bandpass[b,a]=butter(2,[.1,.2]);Appliesasecondorder lterthatpassesallfrequenciesbetween0.10and0.20Bandstop[b,a]=butter(2,[.1,.2],'stop');Appliesasecondorder lterthatstopsallfrequenciesbetween0.10and0.202