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.

bandpass noise in MATLAB [hlp]

Status
Not open for further replies.

No one

Full Member level 5
Joined
May 11, 2005
Messages
287
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Activity points
3,425
bandpass noise

Hello Everyone;
I want to produce a bandpass noise in MATLAB/SIMULINK. How can I do it?
 

band pass noise

If I remember correctly, there is a band-limited noise generator in Simulink. If that is what you want, Search for the term "noise" in Simulink window, and keep clicking "F3" button until you reach the mentioned component.

Regards
 

    No one

    Points: 2
    Helpful Answer Positive Rating
bandpass noise matlab

Hello Joatt;
What's about m-files? Can we write an m-file which produces bandpass noise?
 

bandpass filter noise matlab

That is doable too. Here is an example, where fcentral = 50Mhz, fupper = 52 MHz, flower = 48 Mhz, fstop = 70 Mhz:

Code:
Noise=0.7*(randn(size(t))); % Noise signal
fc = 50e6;
fup = 52e6;
flo = 48e6;
fs = 70e6;
Wp = [flo fup]/(fs/2); % normalized passband interval
Ws = [(fc/2) (fc+(fc/2))]/(fs/2); % normalized stopband interval
Rp = 3; % 3-dB attenuation at passband
Rs = 30; % 30-dB attenuation at stopband
[n,Wn] = buttord(Wp,Ws,Rp,Rs); % Butterworth filter
[b,a] = butter(n,Wn);
bandNoise = filter(b,a,Noise); % Band-limiting the noise

Note: this example is extracted from **broken link removed** with some modifications and additional comments.

Regards
 

    No one

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top