Lab 0: |
If you don't have a CAEN account and so can't log in, please visit CAEN office (in Media Union, 2nd floor) and get an account.
- Please email me if you can't find your lab partner. I hope I can help you find one.
Lab 1: |
- Homework 2 was modified due to some problems. Make sure to download the new hw2 from website. (We thank Amanda Wallace for raising a question about hw2 and making us modify it.)
- Append all your matlab codes to the report. For problems 1-3, you can copy all commands from command history window and paste them on your report. Make sure to show which code corresponds to which problem.
- Hints on the lab assignment 1:
Prob 1(c): Given that you have all discrete-time statistics from 1(b), you need to find all corresponding continuous-time statistics by using Ts=1/100. (ex) duration = Ts * (# of samples)
Prob 2(c): Note that the signal "clarinet" has a sampling frequency 22050 Hz, which means 22050 samples/sec. You can find the answer in samples by plotting it and then convert it in seconds by using the sampling frequency.
Lab 2:
|
|
Lab 3:
|
Lab 4a:
Some students asked us to double-check if the solution to Problem 6(a) of HW4 is correct. The solution is correct. Please read it one more time. If you have any disagreement with it, you can bring your work back and show it to me next week. Thank you for raising a question about the solution. Hints on lab assignments: <Prob. 2> The coefficients "a_k" were given in the manual. You need to use the command as follows.
where T, m are specified in the manual and CC = [a_(-20), a_(-19), ..., a_(19), a_(20)] by using the equation given. You can use either "for loop" or "vector" to make CC. In addition, don't forget that the "magnitude" of the coefficient can NOT be negative! <Prob. 3(b)-(d)> You need to use just 1 period of data from step_signal. Note that 1 period of data have 16384 samples. <Prob. 3(b)> Plot the magnitude and the phase spectrum respectively. Be careful to put the right values when you use stem(arg1, arg2). Note that 1st argument is x-values and 2nd is y-values in the figure! <Prob. 3(c)> You do nearly the same thing as 3(b). But you need to repeat it 4 times with N=25, 50, 100, 200. <Prob. 3(d)> You do the same thing as 3(c). But you need to repeat it a lot more than 4 times to find the smallest N that makes MSE less than 5% of MSV. |
Lab 4b:
<Prob. 5(a)>
<Prob. 5(b)> You use the second 0.5-sec signal. <Prob. 5(c)> Find all k's of noise signal in the spectrum. <Prob. 5(d)> Put all k's of noise signal in the zc vector in the code "fix_melody.m". <Prob. 5(e)> If you put all correct k's of noise signal, your returned signal is supposed to have a checksum of 0.42348 when you run melody_check(result). |
Lab 5:
<Prob. 2>
<Prob. 3(a)>
<Prob. 3(c)>
|
Lab 6:
<Prob. 1>
<Prob. 2>
<Prob. 3>
<Prob. 4>
|
Lab 7:
<Prob. 2>
<Prob. 3>
<Prob. 4>
|