Machine learning assignment 4
This commit is contained in:
4
machine_learning/course2/assignment4/describe_matrix.m
Normal file
4
machine_learning/course2/assignment4/describe_matrix.m
Normal file
@@ -0,0 +1,4 @@
|
||||
function describe_matrix(matrix)
|
||||
fprintf('Describing a matrix of size %d by %d. The mean of the elements is %f. The sum of the elements is %f\n', size(matrix, 1), size(matrix, 2), mean(matrix(:)), sum(matrix(:)))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user