how can i generate 2.4 ghZ sine wave code in matlab using m file

this is to be generated in matlab code

2 Comments

Please use meaningful tags, because they are used to sort the question into categories.
What exactly is a "2.4GHz sine wave code"? E.g. [0,1,0,-1,0,1,0,-1] could be a 2.4GHz sine wave also, when you define the sampling frequency accordingly.

Sign in to comment.

 Accepted Answer

Jan's comments are appropriate here. Are you simply asking how to create a 2.4 gigahertz sine wave?
dt = 1e-11;
t = 0:dt:(1000*dt);
x = cos(2*pi*2.4e9*t);

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 23 Aug 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!