Python tutorials

Designing a High-Pass FIR Filter using the windowing method

Finite Impulse Response (FIR) filters are of great interest in digital signal processing tasks because they have a linear phase response and do not cause many distortions to the filtered signal. Furthermore, unlike an Infinite Impulse Response (IIR) filter, the FIR filter is non-recursive, i.e. it has no feedback (it uses only samples of the input signal) and, consequently, is a naturally stable filter.

Read more

Build a Tic-Tac-Toe Game Engine With an AI Player in Python

When you’re a child, you learn to play tic-tac-toe, which some people know as naughts and crosses. The game remains fun and challenging until you enter your teenage years. Then, you learn to program and discover the joy of coding a virtual version of this two-player game. As an adult, you may still appreciate the simplicity of the game by using Python to create an opponent with artificial intelligence (AI). By completing this detailed step-by-step adventure, you’ll build an extensible […]

Read more
1 67 68 69 70 71 181