Wesley Maa
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
3년 초과 전
문제를 풀었습니다
Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.
3년 초과 전
문제를 풀었습니다
imaginary results
Return the value of the imaginary number i to the power of input argument n.
3년 초과 전
문제를 풀었습니다
intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.
3년 초과 전
문제를 풀었습니다
vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.
3년 초과 전
문제를 풀었습니다
row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.
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년 초과 전
문제를 풀었습니다
Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.
3년 초과 전
문제를 풀었습니다
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
3년 초과 전
문제를 풀었습니다
Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...
3년 초과 전
문제를 풀었습니다
Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors
3년 초과 전
문제를 풀었습니다
Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector
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년 초과 전
문제를 풀었습니다
Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise
3년 초과 전