解決済み


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 'E'
Draw a x-by-x matrix 'E' 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 '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 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

3年弱 前

解決済み


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

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 '7' in a zero matrix!

3年弱 前

解決済み


Draw a '8' in a zero matrix!

3年弱 前

解決済み


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 x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

3年弱 前

解決済み


Draw a '1' in a zero matrix!

3年弱 前

解決済み


Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

3年弱 前

解決済み


Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

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年弱 前

解決済み


Find Logic 32

3年弱 前

解決済み


Find Logic 31

3年弱 前

解決済み


Find Logic 30

3年弱 前

さらに読み込む