EE313 Linear Systems and Signals - Homework

MATLAB will be needed on the homework assignments. Here are installation instructions and a handout for MATLAB.

Homeworks Assigned

Previous homework and mini-project assignments and solutions are available for Fall 2017, Fall 2018 and Fall 2021.

Homework and Mini-Project Guidelines

Here are some things you should follow for all assignments.

Amount of work to show:

  1. An explanation should be given for every single answer. Answers written without explanation will lose two-thirds of the points allotted for that part.
  2. 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.
  3. There shouldn't be big jumps in logic from one step to the next.
  4. 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.
  5. If you're in any doubt about how much work to show, please ask the instructor or the teaching assistant.

MATLAB source code guidelines:

  1. Put a comment before the solution of each part, telling the question number of the solution.
  2. If you're using complicated logic, leave a comment telling what that block of code is supposed to do.
  3. Use variable names that related to their meaning/use.
  4. Avoid using two different variables for the same thing.
  5. Try to avoid using "magic numbers" in the code. If you're using a number, write a comment telling me how you derived it.
  6. 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.
  7. No marks will be deducted based on the efficiency of the code unless the problem asks you to write efficient code.

Technical points:

  1. Merge all the files together into one PDF file.
  2. 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.
  3. For the MATLAB code you write for an assignment, please copy the code into Word or include a screenshot showing the code. Do not submit handwritten code.
Other things:
  1. All plots must have axis labels, with units.
  2. Final answers must be boxed, or underlined or otherwise differentiated from the rest of the solution.
  3. All final answers must have units, if they exist.
  4. Read the questions carefully.
  5. 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 the reader where to find it.
Organization of a mini-project report:

Please write a self-contained narrative report. The audience is someone who has taken the equivalent of this class. The report should provide references to the textbook and other sources as needed. Please refer to the hints above, which apply to homework assignments and mini-project reports, as well as the following additional guidelines for the mini-project:

For mini-project #2:

  1. Introduction -- explain in your own words why FIR and IIR filtering are useful. Build on your experiences so far in the class. You can also use ideas from the lab assignment. Use appropriate references. Probably half of a page for this section.
  2. Overview -- explain in your own words and with appropriate references the mathematical descriptions of discrete-time FIR and IIR filtering in the in the time, frequency, and z domains. Also explain how an image is acquired and how is its information represented (matrix of pixels). About 2 pages for this section.
  3. Section 2.5. Explain applying a 1-D FIR filter to an image. Include all images.
  4. Section 3.2. Explain image distortion and image restoration. Explain how an IIR filter could completely compensate for the distortion caused by the FIR filter with coefficients [1 -0.9]. Include all images. Give a numerical comparison using MSE, PSNR, and SSIM measures of
  5. Conclusion -- draw conclusions from your work and explanations in the earlier sections. Probably half of a page for this section.

For mini-project #1:

  1. Introduction -- explain in your own words when a sum of sinusoids can be used to analyze and synthesize a signal. Build on your experiences so far in the class. You can also use ideas from the Introduction section in the mini-project assignment. Use appropriate references. Probably half of a page for this section.
  2. Overview -- explain in your own words and with appropriate references the general approach for representing a signal as a sum of sinsuoids in the mini-project, including mathematical formulas. You can also use ideas from other sections in the mini-project #1 assignment. About a page for this section.
  3. Analyzing an audio signal -- answer the questions in Section 2 of the assignment and use information from Section 2 in your writeup.
  4. Synthesizing an audio signal -- answer the questions in Section 3 of the assignment. and use information from Section 3 in your writeup.
  5. Conclusion -- draw conclusions from your work and explanations in the earlier sections. Probably half of a page for this section.
This mini-project report is something that you could bring with you on interviews to show as an example of your work. Here are example mini-project #1 reports written by the instructors on "FM Synthesis for Musical Instruments" (2018) and "Sinusoidal Speech Synthesis" (2021).


Last updated 12/03/23. Send comments to bevans@ece.utexas.edu.