Please how do you write a code to sample a given complex exponential sinusoid (exp(j*phi(nTs)),given that n=0.....N-1.Given also that i have already generated 10000 discrete sample of phi_t .
1 view (last 30 days)
Show older comments
Please how do you write a code to sample a given complex exponential sinusoid (exp(j*phi(nTs)),given that n=0.....N-1.Given also that i have already generated 10000 discrete sample of phi_t .N=64 and Ts=5microseconds.
0 Comments
Accepted Answer
Wayne King
on 28 Mar 2014
Edited: Wayne King
on 28 Mar 2014
If you already have the vector phi just evalute phi at your t points.
Ts = 5e-6;
t = 0:Ts:(64*Ts);
phi = 2*pi*100*t.^2+2*pi*50e4*t;
x = exp(1j*phi);
2 Comments
More Answers (0)
See Also
Categories
Find more on Trigonometry in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!