We provide an explicit matrix analytic solution for finite quasi birth and death (QBD) processes, directly expressed in terms of process parameters. We show that this solution has the same asymptotic complexity of previously proposed non-explicit solutions and is more general than some of them. Moreover, it can be easily extended to the case of generalized QBD processes.