문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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...

9년 초과 전

문제를 풀었습니다


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...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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, ...

9년 초과 전

문제를 풀었습니다


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...

9년 초과 전

문제를 풀었습니다


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...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


sum of all
sum all of components

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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 = ...

9년 초과 전

문제를 풀었습니다


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 ...

9년 초과 전

문제를 풀었습니다


only multiply 1230
only multiply 1230

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


square
square

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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...

9년 초과 전

문제를 풀었습니다


divide 2
divide

9년 초과 전

문제를 풀었습니다


add 17
add 17

9년 초과 전

문제를 풀었습니다


Double down!
Let's double the 'x'

9년 초과 전

문제를 풀었습니다


add 2016
add 2016

9년 초과 전

문제를 풀었습니다


add 2017
add

9년 초과 전

문제를 풀었습니다


Basic function
x = 5; y = 11

9년 초과 전

문제를 풀었습니다


divide 3
divide

9년 초과 전

문제를 풀었습니다


add 230
add 230

9년 초과 전

문제를 풀었습니다


factorial
factorial

9년 초과 전

문제를 풀었습니다


sum of vector
sum!!

9년 초과 전

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

더 보기