Rocket_City_ 1014
2020년부터 활동
Content Feed
문제를 풀었습니다
Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.
1년 초과 전
문제를 풀었습니다
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
1년 초과 전
문제를 풀었습니다
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
1년 초과 전
문제를 풀었습니다
Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...
1년 초과 전
문제를 풀었습니다
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
1년 초과 전
문제를 풀었습니다
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
1년 초과 전
문제를 풀었습니다
Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...
1년 초과 전
문제를 풀었습니다
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
1년 초과 전
문제를 풀었습니다
the average value of the elements
Calculate the average value of the elements in the array
1년 초과 전
문제를 풀었습니다
Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...
1년 초과 전
문제를 풀었습니다
Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...
1년 초과 전
문제를 풀었습니다
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
1년 초과 전
문제를 풀었습니다
Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.
1년 초과 전