문제를 풀었습니다


Draw a '3' in a zero matrix!

대략 3년 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

대략 3년 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

대략 3년 전

문제를 풀었습니다


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

대략 3년 전

문제를 풀었습니다


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

대략 3년 전

문제를 풀었습니다


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

대략 3년 전

문제를 풀었습니다


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

대략 3년 전

문제를 풀었습니다


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

대략 3년 전

문제를 풀었습니다


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

대략 3년 전

문제를 풀었습니다


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

대략 3년 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

대략 3년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


Draw a '0' in a one matrix!

대략 3년 전

문제를 풀었습니다


Total energy

대략 3년 전

문제를 풀었습니다


Kinetic energy calculation

대략 3년 전

문제를 풀었습니다


Laws of motion 1

대략 3년 전

문제를 풀었습니다


Laws of motion 2

대략 3년 전

문제를 풀었습니다


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

대략 3년 전

문제를 풀었습니다


Laws of motion 5

대략 3년 전

문제를 풀었습니다


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

대략 3년 전

문제를 풀었습니다


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

대략 3년 전

문제를 풀었습니다


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

대략 3년 전

문제를 풀었습니다


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

대략 3년 전

더 보기