Count ways to reach the nth stair using step 1, 2 or 3

can u tell me what will be the transpose matrix for this ques