Risolto


Determine if all elements are odd
Given an array, return true if all of the elements are odd. ex. x = [3 4 1] allOdd(x) ans = false ex. x = [3 5 7; 5 9...

oltre 3 anni fa

Risolto


Find the slope of a line that passes through two vectors
Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...

oltre 3 anni fa

Risolto


String Logic 1
Examples: 'CAT' --> 'IGZ' 'DOG' --> 'JUM'

oltre 3 anni fa

Risolto


Remove Upper Case Letters
Example Matlab --> atlab proBlem --> prolem Enter --> nter

oltre 3 anni fa

Risolto


Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

oltre 3 anni fa