How can I graph the following functions?
1 view (last 30 days)
Show older comments
A periodic signal x(t) with a fundamental period of 2 seconds is described over one fundamental period by
x(t) = sin(2*pi*t) for t< 0.5
0 for 0.5 < |t| < 1
Graph the signal. Then graph on the same scale the signal Xn(t) given by
Xn(t) = Summation Cx[k]e^(j2*pi*kt/To) where k is -N to N
For N=10,20 and 30 ( In each case the time scale of the graph should cover at least two fundamental periods of the original signal).
Plz help i am beginner and confused :'(
0 Comments
Answers (1)
the cyclist
on 8 Mar 2014
I think you will find some good help by going to the MATLAB Plot Gallery, taking a look at some of those examples, and then adapting the code available there to your case.
0 Comments
See Also
Categories
Find more on Line Plots 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!