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

Asked by sunil on 23 Aug 2012
Latest activity Commented on by Walter Roberson on 23 Aug 2012

this is to be generated in matlab code

2 Comments

Jan Simon on 23 Aug 2012

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.

sunil

Tags

No tags are associated with this question.

Products

No products are associated with this question.

1 Answer

Answer by Wayne King on 23 Aug 2012
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);

0 Comments

Wayne King

Contact us