Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix.
For Example:
The sum of all positi...
1 year 前
已解决
Reverse a string
Return a string with the characters in reverse order from a given input string
Ex:
my_str = "Ciao"
function should output "...
1 year 前
已解决
Remove Unique Elements
Given a list of integers, we want to keep only the non-unique elements in this list. To do this, we need to remove all the uniqu...
1 year 前
已解决
Finding the Most Frequent Letter in a Text
You are given a text containing various English letters, digits and punctuation symbols. Your task is to find the most frequentl...
1 year 前
已解决
Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...
1 year 前
已解决
Negative matrix
Change the sign of all elements in given matrix.
Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...