MatrixExp of Spin X matrix

Is it possible to count symbolic value of
Tr[MatrixExp[-a*Sx]]?
Where Sx is Spin X matrix but with no fixed dimension? It is not hard to do it for any fixed dimension but I i couldn’t figure out how to count it for not numerical values.