import numpy as np  # Import the NumPy library and give it an alias "np"

# Create a NumPy array of integers
int_vector = np.array([1, 2, 3, 4])

# Convert each integer to its binary representation as a list of strings
binary_vector = np.array([list(np.binary_repr(i, width=4)) for i in int_vector])

# Stack the binary vectors vertically to create a binary matrix
binary_matrix = np.vstack(binary_vector.astype(int))

# Print the binary matrix