What is the purpose of an anti-aliasing filter in a digital system?
A) To increase the sample rate
B) To prevent aliasing by removing high-frequency components before sampling
C) To amplify the signal
D) To convert digital signals to analog
Answer: B) To prevent aliasing by removing high-frequency components before sampling
Explanation: An anti-aliasing filter is used before sampling to remove high-frequency components from the signal that could cause aliasing, ensuring that the sampled signal accurately represents the original.