Resuelto


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

alrededor de 9 años hace

Resuelto


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

alrededor de 9 años hace

Resuelto


Create a function handle that reverses the input arguments of another function handle
Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...

alrededor de 9 años hace

Resuelto


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

alrededor de 9 años hace

Resuelto


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

alrededor de 9 años hace

Resuelto


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

alrededor de 9 años hace

Resuelto


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

alrededor de 9 años hace

Resuelto


true or false
if the matrix has a zero, return true. else, return false

alrededor de 9 años hace

Resuelto


sum of all
sum all of components

alrededor de 9 años hace

Resuelto


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

alrededor de 9 años hace

Resuelto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

alrededor de 9 años hace

Resuelto


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

alrededor de 9 años hace

Resuelto


only multiply 1230
only multiply 1230

alrededor de 9 años hace

Resuelto


add -1
If given x=3, The answer is 2

alrededor de 9 años hace

Resuelto


square
square

alrededor de 9 años hace

Resuelto


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

alrededor de 9 años hace

Resuelto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

alrededor de 9 años hace

Resuelto


divide 2
divide

alrededor de 9 años hace

Resuelto


add 17
add 17

alrededor de 9 años hace

Resuelto


Double down!
Let's double the 'x'

alrededor de 9 años hace

Resuelto


add 2016
add 2016

alrededor de 9 años hace

Resuelto


add 2017
add

alrededor de 9 años hace

Resuelto


Basic function
x = 5; y = 11

alrededor de 9 años hace

Resuelto


divide 3
divide

alrededor de 9 años hace

Resuelto


add 230
add 230

alrededor de 9 años hace

Resuelto


factorial
factorial

alrededor de 9 años hace

Resuelto


sum of vector
sum!!

alrededor de 9 años hace

Resuelto


Remove the Zero
Given an array n, remove all zeros

alrededor de 9 años hace

Resuelto


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

alrededor de 9 años hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 9 años hace

Cargar más