Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Lonari

  1. L

    Desiging a very simple filter (Very Basic Sort of)???

    Look at my thread and see if it is of any help to you. I needed some filtering done aswell. I imported a sound clip and used a butterworth filter to get rid some high freq noise. I had the code right, just used the wrong .wav file https://www.edaboard.com/threads/258701/
  2. L

    MATLAB Fourier Transform and Butterworth Filtering

    Haha! Possibly you are right! I've been torturing myself all weekend trying to get this to work! I'm gonna talk to my professor in about 7hrs when I get to school in the morning, and see whats up because he might have uploaded the wrong file on there! I'll keep you updated! Thanks for all your...
  3. L

    MATLAB Fourier Transform and Butterworth Filtering

    Thanks enjunear, I do see it clearly now, the first code I posted was when I first dabbled in it and It wasn't too clear to me then. Even with the 3 lines of code that actually do do the filtering I don't get what I'm looking for. The static still seems to be there and that's the main problem...
  4. L

    MATLAB Fourier Transform and Butterworth Filtering

    So, I did this after taking your advice: sound (data,fs) f=fs/2*linspace(0,1,1024/2+1); [B,A]=butter(2,(5000/11025)); filtdata=filtfilt(B,A,data); sound(filtdata,fs) I didn't do the fft for anything since I already know what frequencies I need to remove. But even after using...
  5. L

    MATLAB Fourier Transform and Butterworth Filtering

    I will try that and let you know how it goes! Thanks a lot. Sorry about the upload, but I managed to upload the file again - this time so you'd be able to download it if you'd like. This is the unfiltered signal **broken link removed** Once I apply the first filter and remove that peak, I am...
  6. L

    MATLAB Fourier Transform and Butterworth Filtering

    Hi thylacine! Thanks for the response, been waiting a long time for someone to respond haha! Attached the wav file here: **broken link removed** when I do the fft: f=fs/2*linspace(0,1,1024/2+1); y=fft(data,1024); plot(f,2*abs(y(1:1024/2+1))) I get this: I'm trying to get rid of that peak...
  7. L

    How to find Rs and Cs for 2nd order RC circuit

    Re: 2nd Order RC Circuit Would this work? Also, does it affect my calculations on matlab I posted above? That is to find the transfer function and the bode plot?
  8. L

    How to find Rs and Cs for 2nd order RC circuit

    Re: 2nd Order RC Circuit I have no idea how to add a unity gain op-amp or how to add that into my calculations to find the transfer function :(
  9. L

    How to find Rs and Cs for 2nd order RC circuit

    Re: 2nd Order RC Circuit Thanks a lot guys! I think I kinda got it: Here is my code: (I went with the 1st choice). clc; clear; R1=330; R2=3300; C1=0.1*10^-6; C2=0.01*10^-6; fc=1/(2*pi*sqrt(R1*C1*R2*C2)) num= 1/(R1*R2*C1*C2); den= [1 ((1/(R1*C1))+(1/(R2*C1))+(1/(R2*C2))) (1/(R1*R2*C1*C2))]...
  10. L

    MATLAB Fourier Transform and Butterworth Filtering

    Hi, I have a sound file, with noise, and I'm trying to remove the noise. The way I've been trying to do this, is to do an FFT, and plot to find frequency, and do a low pass filter to remove the higher frequency. Here are the steps I've been using: %Frequency f f=fs/2*linspace(0,1,1024/2+1)...
  11. L

    How to find Rs and Cs for 2nd order RC circuit

    Re: 2nd Order RC Circuit Thanks but not quite :( I can't randomly pick the RC values I have a set cutoff frequency and roll-off rate that I need to get out of my circuit :(
  12. L

    How to find Rs and Cs for 2nd order RC circuit

    Hi guys, I need to design a low pass filter with a cuttoff frequency of approx 5kHz. Problem is that it must have a -40dB/decade roll-off rate. So it has to be second order. I can do f_c= 1/2*pi*RC R=330 Ohms C=0.1 uF to get the first order filter with approximately 4800Hz cuttoff freq. I...

Part and Inventory Search

Back
Top