Signals and Systems - Exam of 16 February 2026
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 7
Exam of Signals and Systems, second session (appello of 16 February 2026, Engineering, University of Padova). This is the exam of the equivalent Italian-language Signals and Systems course of the University of Padova, translated into English, because the English-taught course does not publish its exams. Duration 3 hours, no documents allowed. Three exercises worth 7 points each, two theory questions worth 4 points each and one Matlab question worth 3 points (32 points in total). To pass, at least 10 points in the exercises and at least 5 between theory and Matlab are needed. Instructions on the sheet: justify every answer and report all the calculations; when asked to sketch a signal, identify its support and sketch its behaviour, even roughly.
Conventions: is the unit step, is the indicator function of and . The exam writes the frequency response as and the discrete-time angular frequency as ; the course notes write and use in discrete time, so here is of the notes and the discrete-time is the of the notes. The step is written in the notes. The Laplace transform of Exercise 3 is the unilateral one, with the notation of the Control Systems notes (The Laplace Transform and Transfer FunctionsThe unilateral Laplace transform turns a linear constant-coefficient ODE into an algebraic equation Y(s) = C(s)/A(s) + B(s)/A(s) U(s), whose second term defines the rational transfer function H(s) = B(s)/A(s).The Laplace Transform and Transfer Functions →).
Exercise 1 (points 7)
Fourier series and filtering. Consider the periodic signal defined as the periodic replica of period of the signal . This signal enters an LTI system with frequency response , producing the output .
- Sketch .
- Compute the impulse response of the system and discuss stability and causality. Say whether the system is low-pass, high-pass or band-pass.
- Compute the fundamental angular frequency and the coefficients of the exponential Fourier series of the signal .
- Determine which harmonics of the signal pass through the filter and determine the analytic expression in the time domain of the output signal . must be expressed in trigonometric form.
- For both signals and say whether it is possible to reconstruct them from their samples and, if so, what the minimum sampling frequency is.
Show the result
- for and for , : a train of rectangles of height and width , repeated every .
- . The system is not causal, not BIBO stable () and it is an ideal low-pass filter with cut-off angular frequency rad/s.
- rad/s; and for (the formula also holds for ); for even .
- The harmonics with pass, but , so only survive: , , otherwise, and .
- cannot be reconstructed from its samples (it is not band-limited). can: rad/s ( Hz), so the sampling frequency must satisfy Hz ( s); the value Hz is the limit.
Show the full solution
Theory used: Periodic SignalsPeriodic continuous- and discrete-time signals, fundamental period, periodicity of sums, periodic repetition, bounded-support signals, and the energy and average power of periodic signals.Periodic Signals →, 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 →, 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 →, 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 →, Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →, Properties of Convolutional LTI SystemsA convolutional LTI system is completely described by its impulse response h (or by its step response), and BIBO stability, staticity, causality and series or parallel interconnection are all read directly from h.Properties of Convolutional LTI Systems →, 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 →, Sampling and the Sampling TheoremSampling multiplies a continuous-time signal by a pulse train, which replicates its spectrum every omega_s; if the signal is band-limited with maximum angular frequency omega_M and omega_s exceeds 2 omega_M, an ideal low-pass filter recovers it exactly (Shannon theorem and sinc interpolation formula).Sampling and the Sampling Theorem →.
(1) The graph of . One period is the interval , where . Since , the signal is on and on the rest of the period (in and ). The replicas are shifted by multiples of , so on and in between: rectangles of width centred at separated by gaps of width (duty cycle ). The value at the jump points ( with the convention of ) does not matter for any integral below.
Grafico interattivo: x(t): periodic replica of rect(t/2) with period 4 (equal to 1 on (4m-1, 4m+1), 0 elsewhere)
(2) Impulse response, causality, stability, type of filter. equals for and for : it lets through the low frequencies and cuts the others completely, with a sharp edge, so the system is an ideal low-pass filter with cut-off rad/s.
Grafico interattivo: H(w) = rect(w/7): ideal low-pass filter with cut-off 7/2 = 3.5 rad/s
Impulse response by the inversion formula. . For : and (the limit of at ).
The same with the table of transforms. The pair and the rescaling (Properties of the Fourier TransformProperties of the Fourier transform with proofs: time shift, modulation, rescaling, convolution theorem, temporal product, time-frequency duality, symmetries, derivative, integral and multiplication by t, followed by worked exercises on a ramp-times-rectangle and on the squared sinc.Properties of the Fourier Transform →) give . With we get and the same function.
Grafico interattivo: h(t) = sin(3.5 t)/(pi t): ideal low-pass impulse response, nonzero for t < 0 and not absolutely integrable
Causality. An LTI system is causal if and only if for . Here is nonzero for : for instance . The system is not causal (it responds before the input arrives, which is why an ideal filter cannot be built).
Stability. A convolutional LTI system is BIBO stable if and only if , that is . Here the integral diverges. On each half period of the sine we have and , so that interval contributes at least and the series diverges (harmonic series): . The system is not BIBO stable. A second way to see it: the Fourier transform of an function is continuous, while has jumps at , hence .
Typical mistake: concluding "stable" because at infinity: decays only like , and this is not enough.
(3) Fundamental angular frequency and Fourier coefficients. The fundamental angular frequency is rad/s. The analysis formula is . On the signal is only in , so
- (mean value): (the signal is for half of the time).
- : Since , this is , and the value at is also correct (). The coefficients are real and even in because is real and even. For even , , so the even harmonics are absent. The first values: , , , , , , and in general for odd (the amplitude decays only like ).
Grafico interattivo: Fourier coefficients a_k = (1/2) sinc(k/2): 1/2 at k = 0, 1/pi at k = 1, zero for even k, alternating sign and 1/(k pi) decay for odd k
(4) Which harmonics pass and the output. For a BIBO stable system the coefficients of the output are (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 →). The system is not BIBO stable (), but the relation still holds here: the frequency response is bounded and, by definition, multiplies the exponential by (only finitely many harmonics are involved in the output, so no convergence issue arises). The harmonic has angular frequency and passes if , that is , i.e. :
- : ;
- : because ;
- : because (the harmonic passes, but so nothing comes out);
- : , so and (the odd harmonics are cut).
Hence , , and all the others are : by the Euler formula . It is a cosine with amplitude around the mean value : the filter keeps the mean value and the first harmonic of the rectangular wave.
Grafico interattivo: y(t) = 1/2 + (2/pi) cos(pi t/2): mean value plus first harmonic only (period 4)
(Checked numerically: the sum of the harmonics with coincides with the formula, with an error of order , and computed by numerical integration coincides with for .)
(5) Sampling.
- Signal . It has for all odd , with : its spectrum, a train of impulses (Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →), contains harmonics at arbitrarily high frequencies. is not band-limited, so no finite sampling frequency satisfies the sampling theorem: the replicas of the spectrum always overlap (aliasing) and cannot be reconstructed from its samples.
- Signal . It is a constant plus a cosine at rad/s: the spectrum is zero for (the constant is at and does not enlarge the band), so is band-limited and can be reconstructed. The sampling theorem (Sampling and the Sampling TheoremSampling multiplies a continuous-time signal by a pulse train, which replicates its spectrum every omega_s; if the signal is band-limited with maximum angular frequency omega_M and omega_s exceeds 2 omega_M, an ideal low-pass filter recovers it exactly (Shannon theorem and sinc interpolation formula).Sampling and the Sampling Theorem →) requires , i.e. , i.e. s, i.e. Hz (the maximum frequency is Hz and the Nyquist rate is Hz).
Remark on the official solution. It gives the "minimum sampling frequency" Hz ( s). Strictly, the theorem needs the strict inequality Hz: the value Hz is the infimum, not an attainable minimum. At exactly Hz () the samples of are : the phase is lost (for example and give the same samples up to a factor), so cannot be reconstructed (this is the edge case of Aliasing and Anti-Aliasing FiltersAliasing is the overlap of spectral replicas that occurs when the band-limited or Nyquist assumptions of the sampling theorem fail; an anti-aliasing low-pass filter with cut-off omega_s/2 applied before sampling removes it at the price of losing the high frequencies; two worked exercises.Aliasing and Anti-Aliasing Filters →).
Typical mistakes. Taking causal because it looks like the filter of the previous exam; saying the harmonic "is cut" (it passes, , but its coefficient is ); forgetting in ; writing the output with complex exponentials when the trigonometric form is asked; deciding that can be sampled because it is periodic.
Exercise 2 (points 7)
Discrete-time systems. Consider a discrete-time LTI system described by the following input-output relation:
- Determine the analytic formula of the impulse response of the system and sketch this signal. Discuss stability and causality of the system.
- Compute the frequency response and sketch in the interval . Hint: express in terms of using the Euler formula . What type of filter is it (low-pass, high-pass, etc.)?
- Consider now a sinusoidal signal in canonical form . For which numerical frequencies is the output zero?
- Consider the finite-duration input signal defined as Sketch and compute the output corresponding to this input. Hint: first determine the support of through the properties of the convolution, and then compute the values only in the support.
Show the result
- : , , , elsewhere. The system is causal and BIBO stable (, FIR).
- , : zero at and , maximum at . It is a band-pass filter.
- The output is zero for and .
- on ; the support of is and , , , , , elsewhere.
Show the full solution
Theory used: Discrete-Time Unit Step and Kronecker Impulsedefinition of the discrete unit step and the Kronecker impulse, their relation as discrete derivative and accumulation, and the unit-area, sampling and sifting properties of the impulse.Discrete-Time Unit Step and Kronecker Impulse →, 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 →, Properties of Systemsdefinitions of static, dynamic, time-invariant, causal, anticausal, acausal, omnicausal, linear and BIBO-stable systems, with examples, counterexamples and a long set of worked classification exercises.Properties of Systems →, 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 →, 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 →, 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 →, Discrete-Time Complex Exponentials and Periodicitydiscrete-time complex exponentials x(k) = C lambda^k, when e^{j theta k} is periodic (theta/2pi rational), fundamental period, harmonic relations and the periodicity rules for sums of signals.Discrete-Time Complex Exponentials and Periodicity →.
(1) Impulse response, causality, stability. The impulse response is the output when (Kronecker impulse, at and elsewhere): It has finite support : a FIR 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 →) with coefficients , , .
Grafico interattivo: h(n) = delta(n) - delta(n-2): 1 at n = 0, 0 at n = 1, -1 at n = 2
Causality: for (equivalently, the output at time depends only on and , present and past): causal. Stability: , so and the system is BIBO stable (every FIR filter with finite coefficients is).
(2) Frequency response and type of filter. The DTFT of is (the delay gives the factor ). Following the hint, factor out , the middle exponent: Since , the modulus is . The phase is where (and shifted by where ): a delay of one sample plus a constant phase.
In : at and at (the DC component and the fastest oscillation are cancelled); the maximum is at . Remember that the low frequencies are near and the high ones near (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 →): the filter blocks both and keeps the middle band, so it is a band-pass filter (not low-pass: the gain at is ; not high-pass: the gain at is ).
Grafico interattivo: |H(w)| = 2|sin w| on [-pi, pi]: zero at w = 0 and w = +-pi, maximum 2 at w = +-pi/2 (band-pass)
(3) Zeros of the output for a sinusoid. For a real , a cosine goes through the system as a cosine with the gain and the phase of the frequency response at its frequency (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 discrete-time version is the same: write as a half sum of , the factors are and ): because the angular frequency of is . The output is zero (for ) if and only if , i.e. , , . In : and .
Direct check. : is constant, so . : and , so . For the other frequencies the gain is positive: for instance (, the maximum) gives (checked numerically).
(4) The output for . The values are , , and elsewhere.
Grafico interattivo: x(n) = n + 1 for n = 0, 1, 2 (values 1, 2, 3), zero elsewhere
Support of . The convolution of two finite signals has support from the sum of the left ends to the sum of the right ends (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 →): and , so , which has samples. Outside, .
Values. The simplest way is the input-output relation :
- ,
- ,
- ,
- ,
- .
Grafico interattivo: y(n): values 1, 2, 2, -2, -3 on n = 0, ..., 4 (support [0, 4])
Checks. The sum of the samples is : (the filter blocks the DC component). The alternating sum is . The convolution computed with a program gives .
Remark on the official solution. The numbers are correct. On the official sheet the caption under the plot of reads "Signal " and the caption of the plot of reads "Frequency response ": they are captions of and of .
Typical mistakes. Forgetting that the support of has samples; reading as an advance; calling the filter high-pass because looks like the end of the plot (it is there); writing (maximum gain) as the answer of point 3.
Exercise 3 (points 7)
ODE with constant coefficients and Laplace transform. Consider the causal continuous-time LTI system associated with the following linear ordinary differential equation with constant coefficients:
- Determine the transfer function and specify its Region of Convergence (ROC).
- Compute the impulse response of the system by inverse transforming . Discuss the stability of the system.
- Suppose we observe exactly the following output signal: Compute the Laplace transform of the output signal and its ROC.
- Determine the analytic expression of the input that produces the output defined in the previous point.
Show the result
- , poles and , zero ; .
- . The system is BIBO stable (poles with negative real part, ROC containing the imaginary axis).
- , .
- and .
Show the full solution
Theory used: the Laplace transform, its properties and table, the transfer function, the ROC and the inversion by partial fractions are in The Laplace Transform and Transfer FunctionsThe unilateral Laplace transform turns a linear constant-coefficient ODE into an algebraic equation Y(s) = C(s)/A(s) + B(s)/A(s) U(s), whose second term defines the rational transfer function H(s) = B(s)/A(s).The Laplace Transform and Transfer Functions → (Control Systems), Solving Linear ODEs with the Laplace TransformHow the Laplace transform turns a linear ODE with constant coefficients into an algebraic equation, with its definition, properties and table, the split into natural and forced response, the transfer function, poles and zeros, the impulse response, partial fractions, and the first-order step response.Solving Linear ODEs with the Laplace Transform → (Control Systems Laboratory) and 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 → (this course); the stability of the system in BIBO Stability and First-Order ModelsA linear system response splits into a natural response from the initial conditions and a forced response from the input; BIBO stability concerns the forced response and stability of the zero equilibrium concerns the natural one, and an n-th order ODE can be rewritten as n first-order equations (a state model) whose transfer function is obtained from the matrices A, B, C and D.BIBO Stability and First-Order Models → and Stability of Dynamical SystemsFor an LTI system the response to a perturbation of an equilibrium does not depend on the equilibrium or on the perturbation amplitude, so stability reduces to the free evolution being bounded (stable) or vanishing (asymptotically stable), decided by the roots of the characteristic polynomial, and is related to BIBO stability.Stability of Dynamical Systems →; the time-domain methods used for the cross-checks in 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 →, 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 →, 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 →, 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 → and 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 →. The Laplace transform used below is the unilateral one, , whose ROC is a right half-plane ( is the abscissa of convergence).
(1) Transfer function and ROC. The system is causal and LTI, so it is at rest before the input (zero initial conditions) and is the forced response. Transform both sides with the derivative property , applied twice to (the initial terms vanish because and ): Hence The coefficients of the numerator are those of the right-hand side of the equation and the ones of the denominator are those of the left-hand side. The degrees are : is strictly proper (physically realizable). The poles are the roots of : , i.e. and ; the zero is the root of , (in the right half-plane). There is no common factor between and , so no pole-zero cancellation.
ROC. is the transform of the impulse response ( gives ), and is a sum of the exponentials and (point 2): the transform converges for , the slowest of the two decay rates. So : the half-plane to the right of the pole with the largest real part (as always for a causal system). It contains the imaginary axis.
(2) Impulse response by the inverse Laplace transform. Since and the poles are distinct, use the partial fractions decomposition: From the table, (here ), so
Second way, with the Fourier transform and the time-domain methods of this course. The system is stable (see below), so the Fourier transform of exists and, applying to the equation 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 →; it is with , which is allowed because the ROC contains the imaginary axis): The denominator is factored first, from the characteristic equation , , i.e. and (the modes of the system are and ). The numerator has degree , lower than the degree of the denominator, so partial fractions apply: With for (Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →), and causal because the system is causal:
Check with the impulse matching method (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 →). The causal impulse response has the form with (modes times the step; no impulse term, since the order of the equation exceeds the order of the right-hand side). Then and , and The first term is zero because is a combination of modes; the equation requires the right-hand side , so and , i.e. and . For : and . Both conditions hold.
Other checks: ; the function changes sign once, at (it comes from the zero of at ); the frequency response computed by numerical integration of agrees with at several .
Grafico interattivo: h(t) = (4 e^(-3t) - 3 e^(-2t)) u(t): jumps to 1 at t = 0, becomes negative after t = ln(4/3) = 0.29 and decays to 0
Stability. A convolutional LTI system is BIBO stable if and only if (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 , so the system is stable. The same conclusion comes from the poles (the roots of the characteristic polynomial, and ) having strictly negative real part: all the modes decay; equivalently, the ROC contains the imaginary axis (BIBO Stability and First-Order ModelsA linear system response splits into a natural response from the initial conditions and a forced response from the input; BIBO stability concerns the forced response and stability of the zero equilibrium concerns the natural one, and an n-th order ODE can be rewritten as n first-order equations (a state model) whose transfer function is obtained from the matrices A, B, C and D.BIBO Stability and First-Order Models →).
(3) Laplace transform of the output and its ROC. The output is . With the table ( and with ) and linearity: ROC. The first term converges for and the second for ; the sum converges where both do, so (the abscissa of convergence is because , which does not decay: is excluded). Checks with the initial and final value theorems: and (the limit exists and is finite).
(4) The input. The system is at rest and causal, so and the input is obtained by solving for : The numerator has degree and the denominator degree , with the distinct poles : partial fractions By the table, The ROC of is (the abscissa of convergence is because of the term ), so has a smaller ROC than (): in the product the zero of at cancels the pole of at , and the ROC of the product is larger than the intersection of the two ROCs.
Checks. The initial value theorem gives , as in . The convolution computed symbolically gives exactly for , and at the equation is satisfied: and . Remark: the input grows like but the output stays bounded: the component is annihilated by the right-hand side (for , derivative minus itself is ), which corresponds to the zero of at . This does not contradict the BIBO stability of the system, which concerns bounded inputs. Recovering from is a legitimate calculation here but the inverse system is not stable (it has the pole ): this is why the input obtained is unbounded. The results coincide with the official solution (no misprint in this exercise).
Typical mistakes. Scrambling the residues ( is computed at the root and goes with , at with ); omitting ; forgetting that the numerator makes (the order of the right-hand side is lower than the order of the left-hand side by one, so jumps); giving the ROC of as (it is to the right of the pole with the largest real part, ); giving for (the term forces ); in point 4, dividing by with numerator and denominator inverted.
Theory 1 (points 4)
Linear ordinary differential equations with constant coefficients. Recall the definition of linear ordinary differential equation with constant coefficients (LCCODE), the definition of characteristic polynomial , and the algebraic structure of the set of solutions of the associated homogeneous equation. Express a basis in terms of the roots of the characteristic polynomial.
Show the result
- LCCODE: with constant coefficients (independent of ), . Characteristic polynomial: , of degree .
- is a vector space of dimension .
- If has the distinct roots with multiplicities (), a basis of is .
Show the full solution
Theory used: 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 →, 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 →.
Definition. Given an input (possibly a generalized signal, with impulses and derivatives of impulses), the LCCODE asks for the signals such that where is the derivative of order , and are integers, and the coefficients are constants (they do not depend on ), real or, in general, complex, with (the notes normalize ). Its order is .
Characteristic polynomial. It is the polynomial of degree built with the coefficients of the left-hand side: (The notes call the variable .) It comes from looking for exponential solutions of the homogeneous equation : for we have , so , and is a solution if and only if .
Structure of . The homogeneous equation is linear: if are solutions and are constants then is a solution (derivatives are linear). So is a vector space. Its dimension is : fixed , for every vector of initial conditions there is exactly one solution of the homogeneous equation with those initial conditions (existence and uniqueness of the Cauchy problem, theorem quoted in 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 →); the map "solution initial conditions" is then a linear bijection between and , so . Consequence: any linearly independent solutions are a basis.
Basis from the roots. Let be the distinct roots of and the multiplicity of , so and (fundamental theorem of algebra). The functions (the modes) are a basis of , so every homogeneous solution is with constants fixed by the initial conditions.
Why they are solutions. Write and . Since for every , differentiating times with respect to and setting gives If is a root of multiplicity then , so for all the terms vanish: is a solution. They are functions and they are linearly independent (distinct exponentials multiplied by polynomials have different growth; this is the part that the notes state without proof), so, since , they are a basis. (Verified symbolically for : , , , are annihilated and is not.)
Remarks and examples. For real coefficients the complex roots come in conjugate pairs and the pair can be replaced by the real functions , . Examples: has roots , ; has the double root and . The behaviour of the modes (: decay; : bounded or growing like a power; : exponential growth) decides the stability of the system.
Theory 2 (points 4)
Sampling theorem. With reference to the Sampling Theorem:
- Under which hypotheses on the signal and on the sampling frequency is it possible to reconstruct from the samples ?
- Briefly explain what aliasing is and why, in a real acquisition system, it is necessary to use an anti-aliasing filter before the sampler.
Show the result
- must be band-limited: its Fourier transform satisfies for (with real and a Fourier transform in the generalized sense, so that sinusoids are allowed), and the sampling frequency must satisfy the Nyquist criterion , i.e. .
- Sampling in time repeats the spectrum with period : . If (or is not band-limited) the replicas overlap and sum: this is aliasing, and the original spectrum can no longer be recovered. Real signals are never exactly band-limited, so a low-pass anti-aliasing filter with cut-off at most (i.e. ) is applied before the sampler, which enforces the hypothesis.
Show the full solution
Theory used: Sampling and the Sampling TheoremSampling multiplies a continuous-time signal by a pulse train, which replicates its spectrum every omega_s; if the signal is band-limited with maximum angular frequency omega_M and omega_s exceeds 2 omega_M, an ideal low-pass filter recovers it exactly (Shannon theorem and sinc interpolation formula).Sampling and the Sampling Theorem →, Aliasing and Anti-Aliasing FiltersAliasing is the overlap of spectral replicas that occurs when the band-limited or Nyquist assumptions of the sampling theorem fail; an anti-aliasing low-pass filter with cut-off omega_s/2 applied before sampling removes it at the price of losing the high frequencies; two worked exercises.Aliasing and Anti-Aliasing Filters →, Properties of the Fourier TransformProperties of the Fourier transform with proofs: time shift, modulation, rescaling, convolution theorem, temporal product, time-frequency duality, symmetries, derivative, integral and multiplication by t, followed by worked exercises on a ramp-times-rectangle and on the squared sinc.Properties of the Fourier Transform →, 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 →.
1. Hypotheses. On the signal: is band-limited: there exists such that for all ; the smallest such is the maximum angular frequency of the signal (). This is a strong assumption. Mild technical assumptions complete it: real-valued (so is Hermitian and the negative frequencies carry no further information) and with a Fourier transform, if needed in the generalized sense (for example or , but also bounded signals such as sinusoids, whose transform consists of impulses).
On the sampling frequency: the Nyquist criterion The inequality must be strict: with the replicas touch at the edge of the band, and if the spectrum has impulses there (for example sampled at , whose samples are and lose the phase) the reconstruction fails.
Then: is uniquely determined by its samples and recovered exactly by an ideal low-pass filter with gain and cut-off such that (for instance ) applied to the impulse train , i.e. by the Shannon interpolation formula .
2. Aliasing. Multiplying by the impulse train (impulsive sampling) multiplies in time and, in frequency, convolves with . The spectrum of the sampled signal is the spectrum of repeated with period and scaled by . If the replicas are separate and the low-pass filter extracts the central one. If , or is not band-limited, neighbouring replicas overlap and the values add up: the filter cannot separate them and the signal rebuilt from the samples contains frequencies that were not in (high frequencies are folded into low ones and "disguised" as them). This is aliasing. Example from the course: () sampled with has a replica at inside the band and the reconstruction is .
Why the anti-aliasing filter. A real signal is never strictly band-limited: it has a limited duration or contains noise, so its spectrum has tails that never vanish exactly (a signal of finite duration cannot be band-limited), and the sampling hardware also acquires a limited number of samples. If these tails are sampled at a finite , they fold onto the band of interest. Raising without limit is not an option, because converters with high sampling frequency are expensive. So, before the sampler, a low-pass filter with is inserted: it removes the content above and enforces the hypothesis of the theorem. The best choice is , because it keeps as much of the signal as possible. The price is the loss of the frequencies above the cut-off, but this is a controlled and acceptable loss, whereas aliasing is an uncontrolled distortion that cannot be undone after sampling.
Matlab 1 (points 3)
Representation of signals. Consider the signal . Write a Matlab script that:
- computes in the interval sampled at step , with , ;
- plots in a figure the behaviour of in the above interval;
- plots in a second figure the behaviour of the modulus of , the CTFT of . Use the FFT with a suitable zero-padding. Pay attention to the correct labelling of the abscissa axis;
- plots, always in the second figure, the theoretical behaviour of (to be computed analytically, not in the Matlab script).
Show the result
- Signal:
t = 0:TC:TwithTC = 1e-3(20001 samples) andx = A*exp(-3*t)(the step is not needed because ). - Spectrum:
X = fftshift(TC*fft(x, M))withM = 2^(nextpow2(N)+3) = 262144(zero-padding); the factorTCconverts the DFT sums into the continuous-time transform. - Axis:
freq = -FC/2 : FC/M : FC/2 - FC/Min Hz withFC = 1/TC, andomega = 2*pi*freqin rad/s; plotabs(X)againstomega, label\omega [rad/s]. - Theory: , : maximum at , dB point at rad/s.
Show the full solution
Theory used: Discrete Fourier TransformHeuristic derivation of the discrete Fourier transform for N-periodic discrete-time signals: complex exponentials with period N, the finite basis of N modes obtained from the difference equation x(k)-x(k-N)=0, orthogonality, the coefficient formula and the definition of the DFT with its periodicity and matrix form.Discrete Fourier Transform →, 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 →, Sampling and the Sampling TheoremSampling multiplies a continuous-time signal by a pulse train, which replicates its spectrum every omega_s; if the signal is band-limited with maximum angular frequency omega_M and omega_s exceeds 2 omega_M, an ideal low-pass filter recovers it exactly (Shannon theorem and sinc interpolation formula).Sampling and the Sampling Theorem →, Aliasing and Anti-Aliasing FiltersAliasing is the overlap of spectral replicas that occurs when the band-limited or Nyquist assumptions of the sampling theorem fail; an anti-aliasing low-pass filter with cut-off omega_s/2 applied before sampling removes it at the price of losing the high frequencies; two worked exercises.Aliasing and Anti-Aliasing Filters →, Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →.
The theoretical spectrum (point 4). For (Fourier Transform of Common SignalsFourier transform of periodic signals through the transform of the complex exponential as a Dirac impulse, and a catalogue of computed transforms: cosine, sine, constant, causal exponential, two-sided exponential, rectangle and sinc, sign function, unit step and 1/t.Fourier Transform of Common Signals →): It is a low-pass shape with maximum ; at it is (the dB point). It decays like and never vanishes: is not band-limited (it has a jump at ).
Grafico interattivo: Theoretical |X(w)| = 2/sqrt(9 + w^2): maximum 2/3 at w = 0, value 0.47 at the 3 dB point w = 3
From the FFT to the continuous-time transform. Let , , with s. Matlab's fft(x, M) pads with zeros and computes
(the DFT of the notes has an extra factor , which fft does not have). The sum is the DTFT of the sequence , , evaluated at : with larger than the zero-padding does not add information, but samples the same DTFT at more points, so the plot is finer (the spacing in is instead of ). To go to the continuous-time transform, use the sampling relation: the transform of the impulsive-sampled signal is with (Sampling and the Sampling TheoremSampling multiplies a continuous-time signal by a pulse train, which replicates its spectrum every omega_s; if the signal is band-limited with maximum angular frequency omega_M and omega_s exceeds 2 omega_M, an ideal low-pass filter recovers it exactly (Shannon theorem and sinc interpolation formula).Sampling and the Sampling Theorem →). Hence, with ,
provided that the replicas () are negligible (no aliasing) and that is practically zero outside . This is equivalent to the rectangle-rule approximation of .
Do the assumptions hold? Truncation: , negligible. Aliasing: is not band-limited, but rad/s is much larger than the width of the spectrum ( dB at rad/s), and the replicas, shifted by rad/s, have size near the origin, compared with the maximum : the effect is negligible.
The axis. After the fft, the frequencies run from up to and then from up to ; fftshift reorders them as . The frequency step is Hz with Hz and, for even , the axis has exactly points: freq = -FC/2 : step : FC/2 - step. The transform of is a function of in rad/s, so the axis must be multiplied by : omega = 2*pi*freq. With zero-padding the step is rad/s; without it, rad/s. The abscissa of the plot is then in rad/s, from to rad/s, and one zooms on the interesting part with xlim.
Script (Matlab). It is the script of the official solution, with three small changes marked in the comments: a stray comma after 1.5 in the second plot (a syntax error in Matlab) is removed, a missing semicolon after the definition of x (which would print 20001 numbers) is added, and the xlim of the zoomed plot (the figure of the official solution is a zoom on rad/s) is written explicitly.
%% ESAME SEGNALI E SISTEMI - DOMANDA MATLAB
clear all; close all; clc;
%% 1. Parameters and computation of the signal
A = 2; % amplitude
T = 20; % observation time [s]
TC = 1e-3; % sampling step [s]
% Time vector
t = 0 : TC : T;
% Signal x(t): the step is not needed because t >= 0
x = A * exp(-3*t); % (semicolon added)
%% 2. Plot in the time domain
figure(1);
plot(t, x, 'LineWidth', 1.5);
xlabel('t [s]'); ylabel('x(t)'); title('Signal x(t)'); grid on;
%% 3. CTFT with the FFT and zero-padding
N = length(x); % number of samples
M = 2^(nextpow2(N)+3); % zero-padding (M > 8N)
X = fftshift(TC*fft(x, M)); % FFT, then shift
% The minimum frequency is -FC/2, the maximum is FC/2 - step
FC = 1/TC; step = FC/M;
freq = -FC/2 : step : (FC/2 - step);
omega = 2 * pi * freq;
%% Plot of the spectrum (modulus)
figure(2);
plot(omega, abs(X), 'LineWidth', 1.5); hold on; % (stray comma removed)
%% 4. Theoretical modulus: 2/sqrt(9+omega^2)
plot(omega, 2./sqrt(9+omega.^2), 'LineWidth', 1.5); hold off;
legend('|X(\omega)| estimated with the FFT', '|X(\omega)| theoretical');
xlabel('\omega [rad/s]'); grid on;
xlim([-20 20]); % zoom (added)Why this way. t = 0:TC:T has samples; nextpow2(20001) is (), so M = 2^18 = 262144, about times . The factor TC is essential: without it the peak would be instead of (the DFT sums samples, each of which weighs in the integral). Without fftshift the spectrum would be drawn with the negative frequencies on the right of the positive ones.
Check. Matlab is not available here; the script was checked with an equivalent in Python with numpy (same vectors, np.fft.fft and np.fft.fftshift). It gives , and an axis with points from Hz to Hz, with in position . Over rad/s the FFT estimate differs from the theory by at most , which is the error of the rectangle rule, (at the numerical value is instead of ); this is why the two curves in the figure of the official solution overlap.
Grafico interattivo: x(t) = 2 e^(-3t) u(t): jumps to 2 at t = 0 and decays with time constant 1/3 s (negligible well before t = T = 20)
Typical mistakes. Forgetting TC (the spectrum is times too large) or the fftshift; plotting against the index or against freq labelled as rad/s (a factor is missing); an axis with a number of points different from M; choosing M (no zero-padding: the plot is coarse); not limiting the horizontal axis, so that only a flat line is visible up to rad/s; forgetting to plot the theoretical curve in point 4 on the same figure (hold on).
Self-assessment grid
| Exercise | Points | What must be there for full marks | Typical mistakes |
|---|---|---|---|
| Exercise 1 | 7 | sketched with the right support ( on ); , non-causal and not BIBO stable, ideal low-pass; , ; harmonics survive (the harmonic passes but has ); ; not band-limited, band-limited with Hz | called causal or stable; harmonic treated as cut; forgotten; not in trigonometric form; declared reconstructable |
| Exercise 2 | 7 | sketched, causal and stable; , , band-pass; zeros of the output at ; on | support of with the wrong length; low-pass or high-pass instead of band-pass; given as the answer to point 3 |
| Exercise 3 | 7 | with ; residues and and , stability (poles ); with ; with residues and | ROC of taken to the right of ; residues scrambled; omitted; instead of ; instead of |
| Theory 1 | 4 | Definition of the LCCODE; ; is a vector space of dimension ; basis , , with the reason ( vanishes up to multiplicity) | dimension not stated or not justified; multiplicity ignored (missing for a double root) |
| Theory 2 | 4 | Band-limited signal and strict condition ; replicas and overlap = aliasing; real signals are not band-limited, so a low-pass filter with cut-off is placed before the sampler | non-strict inequality; confusing and ; saying the filter is needed to remove noise only |
| Matlab 1 | 3 | Time vector and signal; fft(x,M) with M ; scale TC; fftshift; axis with points and the factor to get rad/s; theoretical on the same figure |
TC or fftshift or missing; axis of the wrong length; no zero-padding |
Thresholds: at least 10 points on the three exercises (out of 21) and at least 5 between theory and Matlab (out of 11). For extra practice on the same topics, see the exercises collected 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 the examples in Properties of the Fourier TransformProperties of the Fourier transform with proofs: time shift, modulation, rescaling, convolution theorem, temporal product, time-frequency duality, symmetries, derivative, integral and multiplication by t, followed by worked exercises on a ramp-times-rectangle and on the squared sinc.Properties of the Fourier Transform → and Aliasing and Anti-Aliasing FiltersAliasing is the overlap of spectral replicas that occurs when the band-limited or Nyquist assumptions of the sampling theorem fail; an anti-aliasing low-pass filter with cut-off omega_s/2 applied before sampling removes it at the price of losing the high frequencies; two worked exercises.Aliasing and Anti-Aliasing Filters →.