Is a desktop computer a type of analog computer?

No, your desktop computer is a digital computer as are virtually all modern computers.