Signals and Systems - Mock Exam 1
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 7
This is a mock exam (a simulation, not a real paper), built on the model of the exams of the equivalent course taught in Italian ("Segnali e Sistemi", Information Engineering, UniPD: papers of 22 January 2025, 10 February 2025 and 16 February 2026). Time: 3 hours. No documents allowed. Structure: 3 exercises of 7 points, 2 theory questions of 4 points and 1 Matlab question of 3 points (total 32). To pass, at least 10 points in the exercises and at least 5 between theory and Matlab are needed. For every question justify the answer and show the computations; when asked to sketch a signal, give its support and an approximate plot.
Conventions: for and otherwise; is the unit step; is the angular frequency in rad/s; for a continuous-time LTI system ; for a discrete-time one , with in rad per sample.
Exercise 1 (points 7)
Exercise 1: Fourier series and filtering. The periodic signal has period and, over one period, for and for . It is the input of a continuous-time LTI system with frequency response . Let .
- Sketch for . Compute its mean value and its power .
- Compute the fundamental angular frequency and the exponential Fourier series coefficients of . For which is ? Sketch the line spectrum for .
- Using the Parseval identity, compute the fraction of the power of carried by the harmonics with (DC term included).
- What kind of filter is ? Which harmonics of pass through it? Write the output in trigonometric form and compute its power. Is periodic? With which period?
- The filter is replaced by . What is the new output?
Show the result
- Mean value ; .
- rad/s; and, for , . for (). , , , , .
- , that is about of .
- Ideal low-pass filter with cutoff and gain ; the harmonics pass (with ). ; ; is periodic with period .
- Only the DC term passes: for all .
Show the full solution
Point 1. Support: is nonzero everywhere (it is or ), so the support is all of . The signal is a train of rectangular pulses of height and width centred at , on a baseline at level :
Grafico interattivo: x(t): periodic with T = 6, equal to 3 on (0,2), (6,8), (-6,-4) and to -1 elsewhere
Mean value over one period (Energy and Power of SignalsEnergy and average power of continuous- and discrete-time signals over finite and infinite horizons, finite-energy signals, mutual energy as a scalar product, and the Lebesgue spaces L2 and l2 of finite-energy signals.Energy and Power of Signals →): . A periodic signal has infinite energy; its power is the mean of over one period:
Point 2. The period is (it is the distance between equal jumps, not the width of the pulse), so (Continuous-Time Fourier SeriesA periodic continuous-time signal is written as a combination of harmonics e^{jn w0 t} whose coefficients a_n are projections of the signal onto each harmonic; coefficients have symmetries that mirror those of the signal.Continuous-Time Fourier Series →). Write , with the periodic repetition of the indicator of . The constant only changes (the series of a constant is the constant itself). For and : where with was used. Multiplying by : For : the mean of is , so , which agrees with Point 1. Note that : the formula of the sinc holds only for , because the offset changes the DC term.
Cross-check with the time-shift property (Properties of the Fourier SeriesThe Fourier coefficient map is a linear isometry between L2 over a period and l2 (Parseval identity, power equals the sum of squared coefficient moduli), and it turns time shift, modulation, conjugation, reversal, scaling and product into simple operations on the coefficients.Properties of the Fourier Series →): is even around , so with even; the coefficients of are real, , and the delay of second multiplies them by ✓.
Zeros: for multiple of . The pulse width is a third of the period, so the sinc has its zeros at the multiples of . Since is real, and . Values:
| (degrees) | - | - |
(phases for ; those of have the opposite sign. When , as for , the factor adds to : and .) The line spectrum has lines at with heights , a main lobe up to (first zero), smaller lobes between multiples of and an envelope decaying like , except the line at which is and not .
Point 3. Parseval (Properties of the Fourier SeriesThe Fourier coefficient map is a linear isometry between L2 over a period and l2 (Parseval identity, power equals the sum of squared coefficient moduli), and it turns time shift, modulation, conjugation, reversal, scaling and product into simple operations on the coefficients.Properties of the Fourier Series →): . The harmonics carry together. With and : Fraction: . The DC term alone is , only of the power: most of the power is in the two first harmonics. (A numerical sum of over many harmonics gives as it must.)
Typical error: forgetting the factor for the pair , or the DC term.
Point 4. for and otherwise: ideal low-pass filter with cutoff and gain (Frequency-Selective FiltersA convolutional LTI system filters by multiplying the input spectrum by H(j omega); ideal low-pass and high-pass filters, first-order RC implementations, distortion-free transmission (Heaviside conditions), why the ideal low-pass filter is not realizable, and the practical design parameters.Frequency-Selective Filters →). The harmonic has angular frequency : , , (passes, but ), (blocked). The output coefficients are for and otherwise (Fourier Series Applied to LTI SystemsA BIBO-stable convolutional LTI system maps a T-periodic finite-energy input to a T-periodic finite-energy output whose Fourier coefficients are the input coefficients multiplied by the frequency response sampled at n omega_0, which is why such systems act as filters.Fourier Series Applied to LTI Systems →). Since : and with , : Both cosines are delayed by : the filter has zero phase and is symmetric around . The power is ; check with the sinusoids: ✓. The output is periodic with period (the fundamental harmonic is present), smooth (no jumps: the jumps of at are rounded off by the removal of high harmonics), with maximum .
Point 5. for . The first harmonic is at , so it is blocked (an ideal filter is sharp: being close to the cutoff does not help). Only the DC term passes: for every .
Typical errors in this exercise: using the width of the pulse instead of the period ( would be ); forgetting the in ; applying the sinc formula at and ignoring the offset; forgetting the phase (the pulse is not centred at ); writing with the amplitudes instead of for the real cosines and the gain of the filter. More examples in Fourier Series ExercisesWorked Fourier-series exercises for a shifted rectangular wave, the pulse train, a power bound for a derivative, a generic square wave, the sawtooth and a triangular wave, ending with the sum of 1/n^2 equal to pi^2/6.Fourier Series Exercises → and Fourier Series of the Square Wave and the Gibbs PhenomenonThe even square wave of duty cycle d has Fourier coefficients a_0 = d and a_n = d sinc(d n), decaying like 1/n, and its truncated series overshoots by about 9 percent near each jump (Gibbs phenomenon).Fourier Series of the Square Wave and the Gibbs Phenomenon →.
Exercise 2 (points 7)
Exercise 2: Discrete-time systems. A causal LTI discrete-time system (initially at rest) is described by the difference equation
- Find the modes of the system and discuss BIBO stability.
- Using the recursion, compute , then find for every . Compute .
- Compute the frequency response and its values at . Sketch for and say what kind of filter this is.
- Compute the output , for all , to the input .
- Compute the step response in closed form. What is its limit for and how is it related to ?
Show the result
- Characteristic polynomial , roots and (modes and ); both inside the unit circle, so the system is BIBO stable.
- , , , ; ; .
- ; , with modulus and phase rad, . Low-pass shape, decreasing from to .
- (the component at is cancelled).
- , with , , ; .
Show the full solution
Point 1. The characteristic polynomial of the homogeneous part comes from the ansatz (Difference EquationsRecursive constant-coefficient linear difference equations (ARMA models) are the discrete-time counterpart of ODEs: the delay operator replaces the derivative, the modes are k^m lambda^k with lambda a root of the characteristic polynomial, and the solution splits into a natural and a forced response.Difference Equations →): The modes are and . A causal LTI system described by an ARMA equation is BIBO stable if and only if all the poles (after cancellations with zeros) are inside the unit circle (Stability of LTI Systems - BIBO and Internal StabilityCharacterization of BIBO (external) stability and of internal stability of LTI convolutional systems through the mode functions: stability zones in the complex plane, asymptotic, marginal and unstable behaviour of the natural response, and an example of an externally stable but internally unstable system with a zero-pole cancellation.Stability of LTI Systems - BIBO and Internal Stability →). Here and , and the zero of the numerator (, from ) cancels none of them: stable. The two modes decay, one of them alternating in sign.
Point 2. Recursion with , for (Recursive Construction MethodIn discrete time the causal impulse response h_+ of an ARMA model is built recursively from the Kronecker impulse for k from 0 to M, and then written as modes plus a few impulses by solving an N by N linear system.Recursive Construction Method →): .
- .
- .
- .
- .
For the right-hand side has no input terms, so the recursion is homogeneous and, starting from , with fixed by the two values (the formula therefore holds from ): So . Check: ✓ and ✓. For , , so and which confirms stability (LTI Systems and Discrete-Time ConvolutionLTI systems are completely described by their impulse response; the output is the discrete convolution of impulse response and input, valid for convolutional LTI systems, with step response, BIBO example and the l1 existence theorem.LTI Systems and Discrete-Time Convolution →).
Point 3. The system is stable, so exists. Taking the DTFT of both sides, with (Frequency Response of LTI SystemsApplying the Fourier transform to LTI convolutional systems described by ODEs: the frequency response H(jw) is the transform of the impulse response, equals Y/U, is a ratio of polynomials in jw, and can be inverted by partial fractions to get h(t), with a warning about causality when the system is not asymptotically stable.Frequency Response of LTI Systems →, Discrete-Time Fourier TransformThe DTFT of an aperiodic discrete-time signal is the 2pi-periodic function X(e^{j theta}) = sum x(k) e^{-j theta k}; it is obtained as the envelope of the DFT of the N-periodic repetition when N tends to infinity, and has translation, modulation, convolution and Parseval properties.Discrete-Time Fourier Transform →): Cross-check from : ✓.
- (): , which is ✓.
- (): numerator ; denominator . Then . Modulus ; phase rad ().
- (): the numerator vanishes, so : the zero lies on the unit circle.
The modulus is , even in and -periodic; on it decreases monotonically: at , at , at , at , and at .
Grafico interattivo: |H| of y(n) - y(n-1)/4 - y(n-2)/8 = x(n) + x(n-1): 3.2 at theta = 0, about 1.23 at pi/2, zero at pi
It is a low-pass IIR filter (FIR and IIR FiltersDiscrete-time (digital) filters are described by ARMA difference equations; FIR filters have finite impulse response (moving average, no auto-regression), IIR filters have auto-regression and a rational frequency response; worked examples of a first-order IIR low-pass/high-pass filter and a moving-average FIR low-pass filter.FIR and IIR Filters →): high gain at low frequencies and a null at the highest one.
Point 4. The input is a sum of three complex-exponential pairs at , defined for all , so there is no transient and the output is simply the sum of the responses (Eigenfunctions and Frequency Response of LTI Systemsfor a BIBO stable convolutional LTI system the complex exponential e^{j w t} is an eigenfunction and the frequency response H(jw), the Fourier transform of the impulse response, is its eigenvalue; for real h the response to a cosine is a scaled and phase-shifted cosine.Eigenfunctions and Frequency Response of LTI Systems →). The system is real, so is real, and for the output is : So . The alternating component is completely removed by the zero at . Typical errors: forgetting that is at and not ; using with the wrong value (, not ); forgetting the phase of .
Point 5. (the step is the running sum of the impulse response). With : Checks: ; ✓; directly from the equation with , ✓. The limit is : a constant input has frequency and the stable system multiplies it by the DC gain. The transient is made by the two decaying modes.
Exercise 3 (points 7)
Exercise 3: Differential equation and Laplace transform. A causal LTI continuous-time system is described by Initial conditions, when present, are given at .
- Compute the transfer function , its poles and zeros, and discuss stability. Does the frequency response exist?
- Compute the impulse response .
- Let and , . Compute the natural (free) response, the forced response and the total response for . Check the result against the equation (initial values and final value).
- With zero initial conditions, compute the response at steady state to .
Show the result
- ; poles , zero ; both poles in the open left half-plane, so the system is BIBO stable and exists.
- (with , no impulse).
- Natural: ; forced: ; total: , (with , , ).
- , modulus , phase rad; .
Show the full solution
Point 1. With the unilateral transform and null before , , , (Laplace TransformWhy more transforms are needed beyond the Fourier transform (non-stable poles and initial conditions), and the definition of the bilateral and unilateral Laplace transform with the reason for the lower limit 0-; the Laplace transform is the continuous-time tool for differential equations and the Z-transform is its discrete-time counterpart.Laplace Transform →, Linear Constant-Coefficient Differential EquationsContinuous-time LTI convolutional systems are described by linear constant-coefficient ODEs whose general solution is a homogeneous part, a combination of modes t^m e^{pt} built from the roots of the characteristic polynomial, plus a particular part; boundary conditions pick one solution of the family.Linear Constant-Coefficient Differential Equations →). With zero initial conditions that is, the coefficients of the equation are the coefficients of the polynomials (denominator from ; numerator from ). Poles: . Zero: (no cancellation: is not a pole). Both poles have real part : the system is asymptotically (BIBO) stable (Stability of LTI Systems - BIBO and Internal StabilityCharacterization of BIBO (external) stability and of internal stability of LTI convolutional systems through the mode functions: stability zones in the complex plane, asymptotic, marginal and unstable behaviour of the natural response, and an example of an externally stable but internally unstable system with a zero-pole cancellation.Stability of LTI Systems - BIBO and Internal Stability →) and the region of convergence contains the imaginary axis, so is defined. The poles are complex conjugates: the modes are damped oscillations , (decay with time constant s, angular frequency rad/s, period s).
Point 2. Complete the square, , and split the numerator, : Check: is strictly proper (degree ), so has no impulse, and by the initial value theorem ; indeed ✓. (The same can be found with the Impulse Matching MethodThe impulse matching method finds the causal impulse response h_+(t) of a continuous-time ODE system by writing h_+ as modes times a step plus impulses, then matching the impulse terms of the equation at t = 0 through a linear system for the coefficients q.Impulse Matching Method →.)
Point 3. Transform the whole equation, with so and : (Natural and Forced Response of Causal LTI SystemsThe solution of a causal ODE with boundary conditions at t_0 splits uniquely into a natural response, a homogeneous solution fixed by the boundary conditions through the Wronskian matrix, and a forced response, the convolution of a causal impulse response with a switch-on input, which is zero before t_0.Natural and Forced Response of Causal LTI Systems →).
Natural response (, ): , hence .
Forced response (): . Equating : gives ; the terms give ; the terms give . So and .
Total: for .
Grafico interattivo: Forced response (dashed) and total response with y(0-) = 2 and y'(0-) = 0, for t >= 0: both tend to 1 = H(0) as the oscillations decay like e^(-t)
Checks. (i) Initial values. : is continuous because the right-hand side has an impulse, which can only be balanced by a jump of . Indeed gives ✓ (a jump of , the coefficient of the impulse). (ii) The equation for : , , so the right-hand side is ; substituting gives ✓. (iii) Final value: ✓. The natural response alone vanishes for (stable system), and the whole transient is made by modes with rate .
Typical errors: forgetting the term in and the it brings into the natural part; writing the forced response with the initial conditions inside it; losing the factor when inverting (it is , because the transform of is ).
Point 4. The system is stable, so for the output at steady state is (Eigenfunctions and Frequency Response of LTI Systemsfor a BIBO stable convolutional LTI system the complex exponential e^{j w t} is an eigenfunction and the frequency response H(jw), the Fourier transform of the impulse response, is its eigenvalue; for real h the response to a cosine is a scaled and phase-shifted cosine.Eigenfunctions and Frequency Response of LTI Systems →): So ; the transient dies out like . The input frequency is exactly the oscillation frequency of the modes, but the system is not resonant because the poles are well inside the left half-plane. Typical error: using instead of .
Theory 1 (points 4)
Theory 1: Properties of systems. (a) Define linearity, time invariance, causality and BIBO stability for a continuous-time system . (b) For the system establish, with a proof or a counterexample, whether each of the four properties holds. (c) Is the system LTI? Does it have an impulse response?
Show the result
Definitions: linear if ; time-invariant if shifting the input by shifts the output by ; causal if depends only on with ; BIBO stable if every bounded input gives a bounded output. For : linear yes; time-invariant NO (counterexample: constant input and shift ); causal yes (it is memoryless); BIBO stable yes (). The system is not LTI, so it has no impulse response and no frequency response (it is a modulator).
Show the full solution
- Linear: for all signals and constants , (superposition: additivity and homogeneity).
- Time-invariant: if then for every , (the system does not change with time).
- Causal: if two inputs coincide up to the instant ( for ) then the outputs coincide up to : the output at does not depend on the future.
- BIBO stable: if there is with for all , then there is with for all .
(b) The system .
- Linear: ✓.
- Time-invariant: no. Let . Then , while the delayed output is . They differ unless for all , which holds only for multiple of . Counterexample: for all and : then and , but .
- Causal: depends only on the present value (the system is memoryless, hence causal): if up to then ✓.
- BIBO stable: if then ✓, with .
(c) The system is linear but time-varying, so it is not LTI: the theory of convolution does not apply, there is no such that (the response to is , which depends on , not only on ) and no frequency response: a cosine in input produces an output with different frequencies (product of two cosines). It is the modulation used in AM transmission.
Typical errors: declaring time invariance because "the cosine is periodic" (it holds only for shifts multiple of ); proving a negative property with an example that does not break it (the counterexample must use a shift for which the two expressions differ); confusing memoryless (static) with time-invariant; saying that a stable system must have (BIBO stability only requires bounded outputs). For contrast, the integrator is linear, time-invariant and causal but not BIBO stable (the constant input for gives the unbounded ramp).
Theory 2 (points 4)
Theory 2: Convergence of the Fourier series. (a) Define the truncated Fourier series of a -periodic signal and the pointwise and the mean-square () convergence. (b) State the Dirichlet theorem and the Riesz-Fischer theorem. (c) Let be -periodic with for . Compute its coefficients , say to which value the series converges at and at and which kind of convergence holds, and use the Parseval identity to compute . What happens to the partial sums near ?
Show the result
(a) ; pointwise: for each ; : . (b) Dirichlet (finite number of bounded jumps, piecewise differentiable): for all . Riesz-Fischer: if then in and . (c) , ; the series converges to at and to at (midpoint of the jump from to ); the convergence is pointwise and in , not uniform; ; near the jump the partial sums overshoot by about of the jump (peak ) for every (Gibbs phenomenon).
Show the full solution
(a) For a -periodic with and coefficients , the truncated series is (Continuous-Time Fourier SeriesA periodic continuous-time signal is written as a combination of harmonics e^{jn w0 t} whose coefficients a_n are projections of the signal onto each harmonic; coefficients have symmetries that mirror those of the signal.Continuous-Time Fourier Series →). Pointwise convergence: for every . Mean-square convergence: , that is, the average power of the error tends to (Convergence of the Fourier SeriesThe truncated Fourier series converges pointwise under the Dirichlet conditions (to the midpoint at jumps) and in the mean square sense for every finite-energy periodic signal (Riesz-Fischer theorem), which makes L2 over a period and l2 isometric.Convergence of the Fourier Series →).
(b) Theorems. Dirichlet (sufficient conditions): if has a finite number of discontinuities of the first kind (bounded jumps) in a period and is differentiable elsewhere (with finite one-sided derivatives at the jumps), then for all : to where is continuous, to the midpoint of the jump at a jump. Riesz-Fischer: if (finite power) then in the sense, and ; conversely every sequence in is the sequence of coefficients of a signal in . Dirichlet implies , so the mean-square convergence is the weaker requirement and always follows.
(c) The sawtooth. , . The signal is odd, so . For , integrating by parts with and : In real form . The coefficients decay like , slowly, because has a jump (Properties of the Fourier Series - Convolution, Differentiation and IntegrationFor T-periodic finite-energy signals, periodic convolution becomes a product of Fourier coefficients, even and odd parts map to real and imaginary parts, differentiation multiplies the n-th coefficient by j omega_0 n, and integration divides by it (only for zero-mean signals).Properties of the Fourier Series - Convolution, Differentiation and Integration →: continuous signals with a continuous derivative decay faster).
Convergence values. is bounded, continuous except at the jumps (from to ) and piecewise differentiable: Dirichlet holds, so the series converges at every point. At (continuity point) it converges to . At it converges to , the midpoint of the jump, and not to the value taken from the left; indeed every term . so the convergence also holds in the mean-square sense. The convergence is not uniform on the whole period: uniform limits of continuous functions (the partial sums) are continuous, while has jumps.
Gibbs phenomenon (Fourier Series of the Square Wave and the Gibbs PhenomenonThe even square wave of duty cycle d has Fourier coefficients a_0 = d and a_n = d sinc(d n), decaying like 1/n, and its truncated series overshoots by about 9 percent near each jump (Gibbs phenomenon).Fourier Series of the Square Wave and the Gibbs Phenomenon →). Near each jump the partial sums overshoot the limit values by about of the jump height ( here): the peak is about for every large ; increasing squeezes the oscillations towards the jump but does not reduce their height (numerically the maximum of near is , , for ).
Typical errors: saying that the series converges to at the jump (it converges to the midpoint); not stating the hypotheses of the theorems; confusing pointwise and uniform convergence; forgetting that convergence says nothing about each single point.
Matlab 1 (points 3)
Matlab question: convolution of two sequences. The system of Exercise 2 has impulse response . The input is for and elsewhere. Write a Matlab script that:
- builds on and truncated to , keeping the index vectors;
- computes with
convand builds the correct index vector of ; - plots , and in three subplots with
stem, with labelled axes; - prints the length of , the value , and the maximum of with the instant where it occurs;
- checks that coincides with the response of the difference equation to a unit impulse, using
filter.
Show the result
y has samples, with index vector from to . . The maximum of is at . The difference between h and the output of filter is zero (or of the order of the machine precision).
Show the full solution
nx = -2:3; % support of x: n = -2,...,3
x = ones(size(nx)); % x(n) = 1 on its support
nh = 0:19; % h truncated to 20 samples
h = 2*(1/2).^nh - (-1/4).^nh; % elementwise power (.^) on the vector nh
y = conv(x, h); % 6 + 20 - 1 = 25 samples
ny = nx(1) + nh(1) + (0:length(y)-1); % first index = -2 + 0 = -2, up to 22
figure
subplot(3,1,1); stem(nx, x, 'filled'); grid on; xlabel('n'); ylabel('x(n)')
subplot(3,1,2); stem(nh, h, 'filled'); grid on; xlabel('n'); ylabel('h(n)')
subplot(3,1,3); stem(ny, y, 'filled'); grid on; xlabel('n'); ylabel('y(n) = (x*h)(n)')
fprintf('length of y: %d\n', length(y));
fprintf('y(0) = %.4f\n', y(ny == 0)); % logical indexing on the index vector
[ymax, imax] = max(y);
fprintf('max y = %.4f at n = %d\n', ymax, ny(imax));
b = [1 1]; a = [1 -1/4 -1/8]; % coefficients of the difference equation
hf = filter(b, a, [1 zeros(1, 19)]); % response to the unit impulse
fprintf('max |h - hf| = %.2e\n', max(abs(h - hf)));Comment (LTI Systems and Discrete-Time ConvolutionLTI systems are completely described by their impulse response; the output is the discrete convolution of impulse response and input, valid for convolutional LTI systems, with step response, BIBO example and the l1 existence theorem.LTI Systems and Discrete-Time Convolution →, Properties of Discrete-Time Convolutionalgebraic properties of the discrete convolution (time invariance, commutativity, associativity, bilinearity, neutral element, support), its link with correlation and a set of worked examples including the rectangle-by-rectangle graphical method.Properties of Discrete-Time Convolution →).
convof two vectors of lengths and returns elements. In discrete time the convolution sum is exactly whatconvcomputes: no scaling factor (contrary to the continuous-time case where a sampling step multiplies the result).- The index vector.
convdoes not know the instants. If starts at and at , then starts at : here and ends at . Usingny = 0:24(or plotting against1:25) shifts the plot by and reads the wrong values. Also, Matlab indices start at , soy(0)is an error: the value at isy(ny == 0), i.e. the element . - with contributing ( for ): , which is also the step response of Exercise 2 (since , ).
- Since , . For the second term is zero and keeps growing, so the maximum is at : . From on the term starts to be subtracted and drops (for instance ).
.^is the elementwise power;(-1/4)^nhwithout the dot gives an error. For the base the powers alternate in sign, as they must.- Truncating to samples changes only in the last samples (the discarded tail is of the order ; the largest difference with the exact is about at ). As a further check, .
- The command
filter(b,a,x)runs the difference equation with zero initial conditions, so with the unit impulse it returns exactly the impulse response (Difference EquationsRecursive constant-coefficient linear difference equations (ARMA models) are the discrete-time counterpart of ODEs: the delay operator replaces the derivative, the modes are k^m lambda^k with lambda a root of the characteristic polynomial, and the solution splits into a natural and a forced response.Difference Equations →): the check confirms the closed form found in Exercise 2.
Check. Matlab was not available while writing this mock exam; the same algorithm was reproduced with numpy (np.convolve, index vector nx[0]+nh[0]+arange(len(y)), scipy.signal.lfilter in place of filter): samples, index range , , at , .
Typical errors: forgetting the offset of the index vector; using plot instead of stem for sequences; using y(0); * or ^ in place of conv and .^; writing h for all (the sequence is zero for and must be defined only on ).
Self-assessment grid
| Exercise | Points | What must be there for full marks | Typical errors |
|---|---|---|---|
| Ex. 1 | 7 | Sketch, mean and power (1); and with , zeros at multiples of and the line spectrum (2.5); Parseval fraction (1); filter type, passing harmonics, in trigonometric form with amplitudes and phases and (2); with (0.5) | Period instead of ; sinc formula at ; missing phase factor; forgetting the factor of the pairs or the gain of the filter; thinking that a harmonic just above the cutoff partly passes |
| Ex. 2 | 7 | Poles , and stability (1); recursion values, closed form and (1.5); , values at and low-pass sketch (1.5); with the component at removed (1.5); in closed form and limit (1.5) | Closed form not matched to ; forgetting the numerator in ; dropping the phase of ; confused with DC; summing the geometric series with the wrong first term |
| Ex. 3 | 7 | , poles , zero , stability and existence of (1.5); with (1.5); natural, forced and total responses with the checks , , (2.5); steady state to with modulus and phase (1.5) | Missing initial-condition terms in the transform of and ; wrong partial fractions; mixing natural and forced response; instead of |
| Theory 1 | 4 | Four definitions (0.75); linearity (0.75); time invariance disproved with a counterexample (1); causality (0.75); BIBO stability with the bound (0.75) | Declaring time invariance; counterexample that does not break it; confusing static and time-invariant |
| Theory 2 | 4 | Truncated series and the two convergences (1); Dirichlet and Riesz-Fischer with hypotheses (1); and the limit values and (1.25); Parseval giving and Gibbs overshoot of about (0.75) | Limit at the jump taken as ; missing hypotheses; pointwise and uniform convergence confused |
| Matlab 1 | 3 | Sequences and index vectors (0.5); conv and the index vector ny from to (1.25); three stem plots with labels (0.5); printed values , , at (0.5); check with filter (0.25) |
Missing index offset; y(0); plot for sequences; * and ^ instead of conv and .^ |