- Homework #10: Assignment - Matlab - Solution
- Homework #9: Assignment - Matlab - Solution
- Homework #8: Assignment - Matlab - Solution
- Homework #7: Assignment - Matlab - Solution
- Mini-Project #2: Assignment - Matlab - Solution
- Homework #6: Assignment - Matlab - Solution
- Homework #5: Assignment - Matlab - Solution
- Homework #4: Assignment - Matlab - Solution
- Homework #3: Assignment - Matlab - FourierSynthesisSquareWave.m - Solution
- Mini-Project #1: Assignment - Matlab - Hints - Solution
- Homework #2: Assignment - Matlab - Solution
- Homework #1: Assignment - Matlab - Solution

*Amount of work to show:*

- An explanation should be given for every single answer. Answers written without explanation will lose two-thirds of the points allotted for that part.
- Only "standard" formulas (like Euler's formula, trigonometric formulas, etc.) can be used without a reference. If you're using something non-standard, then please put a reference to the formula number in the book, or whatever source you got it from. Just using the final result of a similar problem done in the class, and omitting the intermediate steps, is not okay. You have to show show your work.
- There should not be big jumps in logic from one step to the next.
- For everything, expect to show at least one intermediate step between the first line and the answer. Even if it seems unnecessary to you, please err on the side of caution. Things that seem obvious to you when you're writing the solution are not quite so obvious for someone reading it.
- If you're in any doubt about how much work to show, please ask the instructor or the teaching assistant.

*MATLAB source code guidelines:*

- Put a comment before the solution of each part, telling the question number of the solution.
- If you’re using complicated logic, leave a comment telling what that block of code is supposed to do.
- Use variable names that related to their meaning/use.
- Avoid using two different variables for the same thing.
- Don’t overuse variables. It makes the code extremely difficult to read.
- Try to avoid using “magic numbers” in the code. If you’re using a number, write a comment telling me how you derived it.
- Make sure that your code will compile & run in a clean workspace; i.e., one without any variables present. Use a clear all; at least once before submitting it.
- No marks will be deducted based on the efficiency of the code unless the problem asks you to write efficient code.

*Technical points:*

- Merge all the files together into one PDF file.
- Ensure that the page orientation (after scanning) is correct.
- Please adjust the contrast, exposure etc., to get a good scan quality so that the TA can easily read what you write. Take extra care to get a good scan for parts written in pencil.
- For the MATLAB assignments, please copy the code into Word or include a screenshot showing the code. Do not submit handwritten code.

- All plots must have axis labels, with units.
- Final answers must be boxed, or underlined or otherwise differentiated from the rest of the solution.
- All final answers must have units, if they exist.
- Read the questions carefully.
- Try to answer all parts of a question together. If the solution to some parts of a question is written elsewhere, then leave a note telling me where to find it.

When writing the mini-project report, please consider the audience of your report to be the other students in our EE 313 course. Please organize your writeup for the mini-project into the following sections:

- Introduction -- explain in your own words and and with appropriate references the larger topic of project. Build on your experiences so far in the class. You can also use ideas from the Introduction section in the lab assignment. Probably half of a page for this section.
- Overview -- explain in your own words and with appropriate references the general idea of the topic of mini-project, including mathematical models. You can also use ideas from the Overview section in the lab assignment. Not more than a page for this section.
- Warm-Up -- complete the Warm-Up Section in the lab assignment and explain your work in your own words and with appropriate references using sentences, equations, plots, Matlab code, etc.
- Bandpass Filter Design -- Please complete Section 4, but you don't have to include Section 4.1 in your writeup, as per the instructions in the lab assignment. Explain in your own words and with appropriate references using sentences, equations, plots, Matlab code, etc.
- Piano Note Decoding -- Please complete Section 5. Explain in your own words and with appropriate references using sentences, equations, plots, Matlab code, etc.
- Conclusion -- draw conclusions from your work and explanations in the earlier sections. Probably half of a page for this section.

Last updated 12/10/18. Send comments to bevans@ece.utexas.edu.