Need a c program for the given code

–1 vote
asked Dec 2, 2019 by anonymous
Construct a periodic signal with the main frequencies 0.1 Hz, 2 Hz, 4 Hz, 12 Hz, 18.3 Hz, which was sampled with 50 Hz over a time range of 20.48 s.

For the required application, only the frequencies in the range 0.5 – 5 Hz are interesting. Implement a suitable digital filter in native C which removes all superfluous frequencies from the given signal.

Compare the results of different filters with the filter orders 2, 4 and 6.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.