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.

maximum frequency of random data in matlab????

Status
Not open for further replies.

bigstrik

Newbie level 5
Joined
Mar 26, 2013
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,346
hi guys,

when i generate a random data in matlab and i want to apply a lowpass filter to these data , how can i identify it's maximum frequency in order to determine the sampling frequency that i will use as an input to my filter
for example :
x=randint(1,10); %%% random bits
a=modem.pskmod(4); %%%% QPSK object
a.inputtype='input';
y=modulate(a,x);
[n m]=butter(10,fc/(fs/2),'low'); %%%% low pass filter object with cutof frequency fc
yt=filter(n,m,y);
................................
so my question is how to determine the maximum frequency of x or y to assign fs in order to use it in 'butter' function ????
also, is the maximum frequency of x is different of that of y or it's the same???

thank you in advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top