문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 6년 전

문제를 풀었습니다


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

거의 6년 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

거의 6년 전

문제를 풀었습니다


Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

거의 6년 전

문제를 풀었습니다


Area of rhombus
Calculate the rhombus area

거의 6년 전

문제를 풀었습니다


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

거의 6년 전

문제를 풀었습니다


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

거의 6년 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

거의 6년 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

거의 6년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

거의 6년 전

문제를 풀었습니다


Area of square
Find the area of a square whose diagonal length is given as x.

거의 6년 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

거의 6년 전

문제를 풀었습니다


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

거의 6년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

거의 6년 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

거의 6년 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

거의 6년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

거의 6년 전

문제를 풀었습니다


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

거의 6년 전

문제를 풀었습니다


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

거의 6년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 6년 전

문제를 풀었습니다


Calculate the square root of a number
Input a Output b = srt(a)

거의 6년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 6년 전

문제를 풀었습니다


easy problem
Find the last element of the array

거의 6년 전

문제를 풀었습니다


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

거의 6년 전

문제를 풀었습니다


Calculate the area of a circle
Given a circle of diameter x calculate its area

거의 6년 전

문제를 풀었습니다


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

거의 6년 전

문제를 풀었습니다


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

거의 6년 전

문제를 풀었습니다


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

거의 6년 전

문제를 풀었습니다


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

거의 6년 전

문제를 풀었습니다


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

거의 6년 전

더 보기