Given a matrix M, return a vector y such that for each k
y(k)=norm(M(:,k))
(y(k) is the Euclidean norm of the k-th column of M)
EDIT: changed the test case so that proper handling of complex values is required.
Find the numeric mean of the prime numbers in a matrix.
5904 Solvers
468 Solvers
Find state names that start with the letter N
465 Solvers
190 Solvers
Given a 4x4 matrix, swap the two middle columns
298 Solvers