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...
2 months 前
已解决
Reverse a string
Return a string with the characters in reverse order from a given input string
Ex:
my_str = "Ciao"
function should output "...
2 months 前
已解决
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...
2 months 前
已解决
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...
2 months 前
已解决
Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...
2 months 前
已解决
Negative matrix
Change the sign of all elements in given matrix.