Select the matrix operation you want to perform.
Define dimensions of Matrix A and B. Ensure valid shapes for the operation.