Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to ...
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 ...
Implement the signum function
The signum function is a common mathematical function, which has the following definition :
If x => 0, its value is 1, if x < 0...
2 years 前
已解决
Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or o...
2 years 前
已解决
Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values.
For example, for the list [-30, -5, 1...
2 years 前
已解决
Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...
2 years 前
已解决
Průměr z výběrového souboru
Napište funkci, která vrátí průměr z hodnot vektoru data. Např data = [1, 2, 3, 4, 5, 6, 7, 8, 9] je prumer = 5.
2 years 前
已解决
Armstrong Number
Write a function name armstrong_check that checks whether the given input is an Armstrong Number or not. It returns logical True...
Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array:
Given this array
Return...