21-Dec-2022 15:25:41 tennis_matrix_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test tennis_matrix(). tennis_matrix_spy_test(): tennis_matrix() is evaluated for p=0.5. spy() displays the nonzero elements of the resulting matrix. Graphics saved as "tennis_matrix.png" tennis_matrix_eigen_test(): tennis_matrix() is evaluated with probability of server winning a single serve p = 0.6 eigen() computes eigenvalues and eigenvectors. Eigenvalues: 0 0 0 0 0 0 0 0 0 0 0 0 0.6928 -0.6928 0 1.0000 1.0000 Eigenvectors: Columns 1 through 7 1.0000 -1.0000 -1.0000 1.0000 1.0000 1.0000 -1.0000 0 0.0000 0 -0.0000 -0.0000 0 0.0000 0 0 0.0000 0 -0.0000 -0.0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Columns 8 through 14 -1.0000 -1.0000 -1.0000 1.0000 1.0000 0.5223 0.5223 0.0000 0.0000 0 -0.0000 -0.0000 0.3123 -0.3123 0.0000 0.0000 0.0000 -0.0000 -0.0000 0.4362 -0.4362 0 0 0 0 0 0.1492 0.1492 0 0 0 0 0 0.3171 0.3171 0 0 0 0 0 0.2798 0.2798 0 0 0 0 0 0.0431 -0.0431 0 0 0 0 0 0.1939 -0.1939 0 0 0 0 0 0.2585 -0.2585 0 0 0 0 0 0.0969 -0.0969 0 0 0 0 0 0 0 0 0 0 0 0 0.0746 0.0746 0 0 0 0 0 0.2239 0.2239 0 0 0 0 0 0.1119 0.1119 0 0 0 0 0 0 0 0 0 0 0 0 0.1292 -0.1292 0 0 0 0 0 0.1939 -0.1939 Columns 15 through 17 1.0000 0.2558 0.1241 -0.0000 0.2746 0.0838 0.0000 0.2275 0.1845 0 0.2909 0.0489 0 0.2502 0.1361 0 0.1936 0.2571 0 0.3076 0.0132 0 0.2659 0.1024 0 0.2265 0.1867 0 0.1443 0.3626 0 0.3138 0 0 0.2984 0.0330 0 0.2172 0.2065 0 0.2404 0.1569 0 0 0.6711 0 0.2752 0.0826 0 0.1303 0.3924 tennis_labels_test(): tennis_labels() provides labels for the tennis states. 1: 0-0 2: 15-0 3: 0-15 4: 30-0 5: 15-15 6: 0-30 7: 40:0 8: 30:15 9: 15:30 10: 0:40 11: Win 12: 40:15 13: Deuce 14: 15:40 15: Loss 16: Ahead 1 17: Behind 1 tennis_matrix_test() Normal end of execution. 21-Dec-2022 15:25:45