Risolto

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

oltre 12 anni fa

Risolto

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

oltre 12 anni fa

Risolto

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

oltre 12 anni fa

Risolto

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 12 anni fa