spinMatrices# spinMatrices(j)# Build spin matrices \(J_x,J_y,J_z\) for spin \(j\). Parameters: j (double) – Total spin (e.g., 1/2, 1, 3/2) Returns: Cell array {Jx; Jy; Jz} Return type: cell