A stepper motor is considered
digital rather than analog.
This is because it operates in discrete steps. When you send a series of digital pulses to the motor's driver, each pulse moves the motor a fixed amount (a step). The motor doesn't rotate continuously like an analog motor. Instead, it moves from one discrete position to another, which is controlled by the timing and sequence of these digital pulses.
So, in summary, stepper motors are driven by digital signals and are used in applications where precise control of position or speed is needed.