문제를 풀었습니다


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

거의 3년 전

문제를 풀었습니다


lb to kilogram
convert lb to kilogram units, easy

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

거의 3년 전

문제를 풀었습니다


odd number odd sum
How many three digit numbers are there whose sum of the digits is odd?

거의 3년 전

문제를 풀었습니다


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

거의 3년 전

문제를 풀었습니다


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

거의 3년 전

문제를 풀었습니다


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle, outp...

거의 3년 전

문제를 풀었습니다


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

거의 3년 전

문제를 풀었습니다


String Logic 13
Examples: 'CAT' --> 'TCA' 'DOG' --> 'OGD' 'ROSY' --> 'YSRO' 'MOSTLY' --> 'YTSOML'

거의 3년 전

문제를 풀었습니다


Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

거의 3년 전

문제를 풀었습니다


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

거의 3년 전

문제를 풀었습니다


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

거의 3년 전

문제를 풀었습니다


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

거의 3년 전

문제를 풀었습니다


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

거의 3년 전

문제를 풀었습니다


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

거의 3년 전

문제를 풀었습니다


Double the length of the vector

거의 3년 전

문제를 풀었습니다


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

거의 3년 전

문제를 풀었습니다


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

거의 3년 전

문제를 풀었습니다


Sum two matrices
Take two incoming matrices, and sum them

거의 3년 전

문제를 풀었습니다


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

거의 3년 전

문제를 풀었습니다


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

거의 3년 전

문제를 풀었습니다


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

거의 3년 전

문제를 풀었습니다


reverse the order and combine a matrix

거의 3년 전

문제를 풀었습니다


Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...

거의 3년 전

문제를 풀었습니다


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

거의 3년 전

문제를 풀었습니다


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

거의 3년 전

문제를 풀었습니다


Sum of integers numbers
Sum of the numbers from 1 to 100

거의 3년 전

문제를 풀었습니다


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

거의 3년 전

문제를 풀었습니다


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

거의 3년 전

더 보기