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.

Generating a signal of 200 KHz BW at 1 MHz carrier

Status
Not open for further replies.

Communications_Engineer

Advanced Member level 3
Advanced Member level 3
Joined
Oct 10, 2008
Messages
894
Helped
179
Reputation
358
Reaction score
105
Trophy points
1,323
Location
Sindh, Pakistan
Activity points
5,542
Hello,

How can I generate a 200 KHz wide signal, centered at 1 MHz in Matlab?

Code:
% For Carrier signal
Fc = 1e6;
Fs =4*Fc; 

T = 1/Fs;
n = 0:T:1;

Carrier = cos(2*pi*Fc*n);

But what about the 200 KHz BW?

One more thing, rather than creating time-index from 0 to 1, I think that

Code:
n = 0:T:(Fc/Fs)^-1;

is enough too, right? One cycle for Cosine signal will represent its correct frequency
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top