![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I'm new to using matlab and I was wondering how do make a graph with a -20db/octave slope for modeling filters?
For example, say I want to make a graph where y = 0 until 1000, then i want the graph to have a -20db/octave slope until 100,000. Anybody know how ot put a function like that into matlab? |
|
|
|
|
|
|
(permalink) |
|
Anybody? Could use some help....
|
|
|
|
|
|
|
(permalink) |
|
Did you mean 20 dB per decade? One R-C filter rolls off at 20 dB per decade or 6 dB per octave. I am not familiar with Matlab, but it should automaticly display in semi-log form.
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) |
|
Ugh yes I meant decade, not octave sorry.
Yeah, I meant that I wanted to know how to make a slope of 20db/decade without putting in a actual transfer function. |
|
|
|
|
|
|
(permalink) |
|
A simple filter with a series resistor then a capacitor to ground makes a 20dB/decade lowpass filter.
Why sim such a simple filter. You should see its gradual rolloff with your eyes closed.
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
"Yeah, I meant that I wanted to know how to make a slope of 20db/decade without putting in a actual transfer function."
Sorry, that does not make sense.
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Make a semilog plot from 1 to 1MHz. Take a abitary point (say f = 1kHz) and make a slope of -20db/decade unti say f=100kHz then go flat again. Something like this: ![]() This is in no way a strange question to ask, as there are already matlab gui's that do this such as http://www.mathworks.com/matlabcentr...bjectType=file I just wanted to know if anybody here knew how to put this into matlab. I am very new to matlab (just got it last week) and have no idea how to do this. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 09:48 PM |
| uuffff how doess this stupid ting work lol | cyprio7 | General Electronics Chat | 7 | 9th October 2005 06:55 PM |
| Way to charge a capacitor linear over time | e-l-e-c-t-r-o | General Electronics Chat | 54 | 30th September 2005 01:32 PM |
| Measure DC offset, Hum, DBs gain, Oscillation | walters | General Electronics Chat | 21 | 7th June 2005 03:00 AM |
| convert input resistance to different output, but how?! | pcoghlan | Electronic Projects Design/Ideas/Reviews | 7 | 9th July 2004 09:59 PM |