문제를 풀었습니다


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

거의 6년 전

문제를 풀었습니다


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

거의 6년 전

문제를 풀었습니다


Output a vector which is table of 9
Output a vector which is table of 9

거의 6년 전

문제를 풀었습니다


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

거의 6년 전

문제를 풀었습니다


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

거의 6년 전

문제를 풀었습니다


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

거의 6년 전

문제를 풀었습니다


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

거의 6년 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

거의 6년 전

문제를 풀었습니다


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

거의 6년 전

문제를 풀었습니다


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

거의 6년 전

문제를 풀었습니다


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

거의 6년 전

문제를 풀었습니다


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

거의 6년 전

문제를 풀었습니다


Min of a Matrix
Return the minimum value in the given matrix.

거의 6년 전

문제를 풀었습니다


surface of a spherical planet
you just discovered its circumference, that is the input.

거의 6년 전

문제를 풀었습니다


Square root of number
Square root of given number.

거의 6년 전

문제를 풀었습니다


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

거의 6년 전

문제를 풀었습니다


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

거의 6년 전

문제를 풀었습니다


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

거의 6년 전

문제를 풀었습니다


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

거의 6년 전

문제를 풀었습니다


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

거의 6년 전

문제를 풀었습니다


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

거의 6년 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

거의 6년 전

문제를 풀었습니다


Remove the Zero
Given an array n, remove all zeros

거의 6년 전

문제를 풀었습니다


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

거의 6년 전

문제를 풀었습니다


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.

거의 6년 전

문제를 풀었습니다


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

거의 6년 전

문제를 풀었습니다


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

거의 6년 전

문제를 풀었습니다


convert matrix to single column
given any matrix, convert it to single column

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

거의 6년 전

더 보기