Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Low Pass Filter GUI: A MATLAB Tool for Understanding RC Circuit Filters, Lecture notes of Matlab skills

Instructions on using the low pass filter gui in matlab, designed to help students explore the impact of a lowpass rc filter on sinusoidal signals. Users can adjust the time constant and excitation frequency, and view the response in time and frequency domains. Figures illustrate the gui layout and allowable input values.

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

tomseller
tomseller 🇺🇸

4.5

(15)

56 documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download Low Pass Filter GUI: A MATLAB Tool for Understanding RC Circuit Filters and more Lecture notes Matlab skills in PDF only on Docsity! Low Pass Filter MATLAB GUI Documentation INTRODUCTION The Low Pass Filter GUI was designed to help a student better understand the effect of a low- pass filter RC circuit on a sinusoidal signal. This GUI allows the user to vary the time constant of the system and the frequency of the input signal, and view the resulting response in the time and frequency domains. This document contains instruction on the usage of the GUI. Other documents are available which contain further explanation on the use of RC circuits as filters. FILES NEEDED TO RUN LOW PASS FILTER GUI low_pass_filter.fig low_pass_filter.p RC.jpg Place these three files in the same directory, and make this your working directory in MATLAB. RUNNING THE LOW PASS FILTER GUI With the proper working directory selected, type 'low_pass_filter' in the MATLAB command window Fig. 1 shows the appearance of the GUI after it is first opened. There are initial values selected for the time constant and the excitation frequency. The excitation signal is a unit amplitude sine wave. These values can be changed by inputting a value manually by selecting the respective value field, or by using the respective slider bars. Low Pass Filter MATLAB GUI Documentation Rev 011705 1 Fig. 1. Low Pass Filter GUI. Fig. 2 shows the controls used to change the time constant and the excitation frequency, and the allowable range of values for these properties. Time Constant: 0.001 – .03 Excitation Frequency: 0 – 100 Fig. 2. Allowable input values for time constant and excitation frequency. For a given time constant and excitation frequency, two frequency domain plots are shown: the magnitude vs. frequency and phase vs. frequency, each plotted over a 100 Hz. range. The red line indicates the cutoff frequency, the black line indicates the input frequency. The time domain plot shows Low Pass Filter MATLAB GUI Documentation Rev 011705 2
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved