문제를 풀었습니다


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

거의 3년 전

문제를 풀었습니다


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 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 '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 '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년 전

문제를 풀었습니다


Find Logic 15

거의 3년 전

문제를 풀었습니다


Find Logic 14

거의 3년 전

문제를 풀었습니다


Find Logic 16

거의 3년 전

문제를 풀었습니다


Find Logic 18

거의 3년 전

문제를 풀었습니다


Find Logic 19

거의 3년 전

문제를 풀었습니다


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

거의 3년 전

문제를 풀었습니다


determine if
determine if the elements of a matrix is a nan and return true

거의 3년 전

문제를 풀었습니다


wipe out!
make all the elements in given x zero.

거의 3년 전

문제를 풀었습니다


find the 'M'
for an input x, return 1 at the location of the letter 'M'

거의 3년 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

거의 3년 전

문제를 풀었습니다


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

거의 3년 전

문제를 풀었습니다


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

거의 3년 전

문제를 풀었습니다


Find the nearest value to the given one

거의 3년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

거의 3년 전

문제를 풀었습니다


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

거의 3년 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

거의 3년 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

거의 3년 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

거의 3년 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

거의 3년 전

더 보기