Challenge - 5 Problems
Discrete Transfer Function Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediateOutput of Discrete Transfer Function Block Simulation
Given a discrete transfer function block in Simulink with numerator coefficients [0.5, -0.3] and denominator coefficients [1, -0.8], and a unit step input, what is the output value at the 3rd sample (index 2)? Assume zero initial conditions and a sample time of 1 second.
Simulink
Numerator = [0.5, -0.3]; Denominator = [1, -0.8]; Input = [1, 1, 1, 1, 1]; Output = filter(Numerator, Denominator, Input); Output(3)
Attempts:
2 left
💡 Hint
Recall that the output is computed by filtering the input through the transfer function coefficients.
✗ Incorrect
The output at the 3rd sample is calculated by applying the difference equation defined by the numerator and denominator coefficients to the input sequence. Using the filter function, the value at index 2 is 0.68.
🧠 Conceptual
intermediateUnderstanding Poles of a Discrete Transfer Function
Which of the following statements correctly describes the location of poles for a stable discrete transfer function?
Attempts:
2 left
💡 Hint
Think about how discrete system stability relates to the z-plane.
✗ Incorrect
For a discrete system to be stable, all poles must be inside the unit circle in the z-plane. Poles outside or on the unit circle indicate instability or marginal stability.
🔧 Debug
advancedIdentify the Error in Discrete Transfer Function Definition
A user defines a discrete transfer function in Simulink with numerator [1, -0.5] and denominator [1, 1.2]. After simulation, the output grows without bound. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check the denominator roots and their location in the z-plane.
✗ Incorrect
The denominator polynomial roots determine the poles. A pole with magnitude greater than 1 causes the output to grow unbounded, indicating instability.
❓ data_output
advancedCalculate Output Sequence from Discrete Transfer Function
Given a discrete transfer function with numerator [0.2, 0.1] and denominator [1, -0.5], and input sequence [1, 2, 3, 4], what is the output sequence?
Simulink
num = [0.2, 0.1]; den = [1, -0.5]; input_seq = [1, 2, 3, 4]; output_seq = filter(num, den, input_seq);
Attempts:
2 left
💡 Hint
Use the filter function to compute the output sequence.
✗ Incorrect
Applying the filter with given numerator and denominator on the input sequence yields the output [0.2, 0.6, 1.1, 1.65].
🚀 Application
expertDesigning a Discrete Transfer Function for a Given Response
You want to design a discrete transfer function in Simulink that has a zero at z=0.5 and poles at z=0.3 and z=0.4. Which numerator and denominator coefficient sets correctly represent this system?
Attempts:
2 left
💡 Hint
Recall that the numerator polynomial roots are zeros and denominator polynomial roots are poles.
✗ Incorrect
The numerator polynomial with root at 0.5 is (z - 0.5) => coefficients [1, -0.5]. The denominator polynomial with roots at 0.3 and 0.4 is (z - 0.3)(z - 0.4) = z^2 - 0.7z + 0.12 => coefficients [1, -0.7, 0.12].
