문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

대략 9년 전

문제를 풀었습니다


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

대략 9년 전

문제를 풀었습니다


Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

대략 9년 전

문제를 풀었습니다


Multi-line comments
* Fix the syntax errors.

대략 9년 전

문제를 풀었습니다


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

대략 9년 전

문제를 풀었습니다


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

대략 9년 전

문제를 풀었습니다


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

대략 9년 전

문제를 풀었습니다


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

대략 9년 전

문제를 풀었습니다


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

대략 9년 전

문제를 풀었습니다


Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

대략 9년 전

문제를 풀었습니다


Lah Numbers
Create a square lower diagonal matrix containing the first n Lah number coefficients. In mathematics, the Lah numbers are coeffi...

대략 9년 전

문제를 풀었습니다


Laguerre Polynomial
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

대략 9년 전

문제를 풀었습니다


Divide number by 2
The output should be the half of the input

대략 9년 전

문제를 풀었습니다


Sum of vector
Output should be sum of input vector

대략 9년 전

문제를 풀었습니다


Circumference
Find the circumference of a circle (x=diameter)

대략 9년 전

문제를 풀었습니다


Area of a circle
Find the area of a circle

대략 9년 전

문제를 풀었습니다


Multiply number
Output should be double the input

대략 9년 전

문제를 풀었습니다


Make it zero
Output should be 0

대략 9년 전

문제를 풀었습니다


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

대략 9년 전

문제를 풀었습니다


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

대략 9년 전

문제를 풀었습니다


multiply 2 numbers
the output should be the product of 2 inputs

대략 9년 전

문제를 풀었습니다


divide 2 numbers
The output should be the quotient of the two inputs.

대략 9년 전

문제를 풀었습니다


sum of everything
find the sum of all the counting numbers up to a given number n.

대략 9년 전

문제를 풀었습니다


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

대략 9년 전

문제를 풀었습니다


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

대략 9년 전

문제를 풀었습니다


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

대략 9년 전

문제를 풀었습니다


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

대략 9년 전

문제를 풀었습니다


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

대략 9년 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

대략 9년 전

문제를 풀었습니다


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

대략 9년 전

더 보기