문제를 풀었습니다


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

10년 초과 전

문제를 풀었습니다


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

10년 초과 전

문제를 풀었습니다


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

10년 초과 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

10년 초과 전

문제를 풀었습니다


Adding numbers
Add two numbers together

10년 초과 전

문제를 풀었습니다


Find the Hypotenuse
Find the Hypotenuse of the triangle.

10년 초과 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

10년 초과 전

문제를 풀었습니다


prime to each other
Given two integers n1, n2 greater than 1, find out if they have common divisors or are prime to each other. Return "true" if the...

10년 초과 전

문제를 풀었습니다


Step up
For given input array, output a array with all elements step up by two

10년 초과 전

문제를 풀었습니다


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

10년 초과 전

문제를 풀었습니다


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

10년 초과 전

문제를 풀었습니다


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

10년 초과 전

문제를 풀었습니다


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

10년 초과 전

문제를 풀었습니다


Multiplying Vectors
Find a way to multiply two vectors.

10년 초과 전

문제를 풀었습니다


Volume of a cylinder
Find Volume of cylinder with the given radius and height.

10년 초과 전

문제를 풀었습니다


Sum of elements of array
Sum of elements of array

거의 11년 전

문제를 풀었습니다


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

거의 11년 전

문제를 풀었습니다


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

거의 11년 전

문제를 풀었습니다


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

거의 11년 전

문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

거의 11년 전

문제를 풀었습니다


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

대략 11년 전

문제를 풀었습니다


become the batman and save gotham!!!
:\\YOU ARE THE BATMAN//: Batman needs your help to save gotham city from its villains! One day while patrolling the streets...

대략 11년 전

문제를 풀었습니다


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

대략 11년 전

문제를 풀었습니다


Add two to x
Create a script such that y equals x plus 2

대략 11년 전

문제를 풀었습니다


add two values
add two values

대략 11년 전

문제를 풀었습니다


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

대략 11년 전

문제를 풀었습니다


Kwabna
add two numbers

대략 11년 전

문제를 풀었습니다


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

더 보기