Check each step carefully to avoid off-by-one errors in indexing.
Final Answer:
8.5 -> Option A
Quick Check:
Discrete update sums to 8.5 [OK]
Hint: Calculate each step using previous output and input [OK]
Common Mistakes:
Mixing up indices k and k-1
Forgetting initial condition y[0]
Adding instead of multiplying coefficients
4. Identify the error in this Simulink discrete-time block setup:
Sample time = 0 Initial condition = 5
What is wrong?
medium
A. No error, setup is correct
B. Initial condition cannot be 5
C. Sample time 0 means continuous, not discrete
D. Sample time must be negative
Solution
Step 1: Understand sample time meaning
Sample time 0 means continuous time, not discrete updates.
Step 2: Check initial condition validity
Initial condition 5 is valid; no issue there.
Final Answer:
Sample time 0 means continuous, not discrete -> Option C
Quick Check:
Discrete sample time ≠ 0 [OK]
Hint: Sample time 0 means continuous, use positive for discrete [OK]
Common Mistakes:
Thinking initial condition causes error
Believing sample time can be zero for discrete
Ignoring sample time meaning
5. You want to design a digital controller in Simulink that samples input every 0.1 seconds and holds output constant between samples. Which setup correctly models this behavior?
hard
A. Use a discrete block with sample time 0.1 and a Zero-Order Hold block
B. Use a continuous block with sample time 0 and a Unit Delay block
C. Use a discrete block with sample time -1 and no hold block
D. Use a continuous block with sample time 0.1 and a Zero-Order Hold block
Solution
Step 1: Identify correct sample time setting
Discrete block with sample time 0.1 means updates every 0.1 seconds.
Step 2: Understand output holding
Zero-Order Hold block keeps output constant between samples, matching requirement.
Final Answer:
Use a discrete block with sample time 0.1 and a Zero-Order Hold block -> Option A
Quick Check:
Discrete sample + hold = correct model [OK]
Hint: Discrete block + Zero-Order Hold models sampled and held output [OK]
Common Mistakes:
Using continuous block for discrete sampling
Omitting Zero-Order Hold block
Using inherited sample time (-1) incorrectly
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.