문제를 풀었습니다


Find Logic 1

거의 2년 전

문제를 풀었습니다


Find Logic 11

거의 2년 전

문제를 풀었습니다


Find Logic 12

거의 2년 전

문제를 풀었습니다


Find Logic 13

거의 2년 전

문제를 풀었습니다


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

거의 2년 전

문제를 풀었습니다


Find Logic 16

거의 2년 전

문제를 풀었습니다


Find Logic 17

거의 2년 전

문제를 풀었습니다


Find Logic 8

거의 2년 전

문제를 풀었습니다


Find Logic 3

거의 2년 전

문제를 풀었습니다


Find Logic 4

거의 2년 전

문제를 풀었습니다


Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

거의 2년 전

문제를 풀었습니다


swap sign sum & multiply castles
It is an easy problem, if you know the answer. Given a square matrix of NxN ordinary numbers. Initially place N identical indi...

거의 2년 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

거의 2년 전

문제를 풀었습니다


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

거의 2년 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

거의 2년 전

문제를 풀었습니다


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

거의 2년 전

문제를 풀었습니다


String Logic 2
Example: ROSY --> HEIO TRUST --> JHKIJ MOSTLY --> CEIJBO

거의 2년 전

문제를 풀었습니다


String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'

거의 2년 전

문제를 풀었습니다


String Logic 15
Examples: 'CAT' --> 'XZG' 'DOG' --> 'WLT' 'ROSY' --> 'ILHB' 'MOSTLY' --> 'NLHGOB'

거의 2년 전

문제를 풀었습니다


String Logic 5
Example: 'CAT' --> 'TAC' 'DOG' --> 'GOD' 'MATLAB' --> 'BALTAM' 'ROSY' --> 'YSOR' 'TRUST' --> 'TSURT' 'MOSTLY' --> 'YLTS...

거의 2년 전

문제를 풀었습니다


Remove Lower Case Letters
Example MEMOry --> MEMO IMPlEMeNtATiON --> IMPEMNATON

거의 2년 전

문제를 풀었습니다


Remove Upper Case Letters
Example Matlab --> atlab proBlem --> prolem Enter --> nter

거의 2년 전

문제를 풀었습니다


Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

거의 2년 전

문제를 풀었습니다


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

거의 2년 전

문제를 풀었습니다


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

거의 2년 전

문제를 풀었습니다


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

거의 2년 전

문제를 풀었습니다


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

거의 2년 전

문제를 풀었습니다


ゼロでない要素が一番多い行を探そう
行列 a が与えられたとき、行列 a の中で一番ゼロの要素が少ない行のインデクス r を返す関数を作成しましょう。このとき、行列 a には一つだけしかこの条件に当てはまる行がないと仮定します。 例: 入力として、行列 a = [ 1 ...

거의 2년 전

문제를 풀었습니다


文字列の最初と最後の文字だけ抜き出しましょう。
文字列の最初と最後の文字をつなげて返すような関数を作成しましょう。 もし文字が一つしかない場合、その文字は最初と最後の文字のため、関数はその文字を二回返すようにしておきましょう。 例: stringfirstandlast('borin...

거의 2년 전

문제를 풀었습니다


対称で、n*2n のサイズの行列を作成しましょう
サイズが n*2n の "mirror" 行列(対称行列)を作成しましょう。 例: n=2 の場合、以下のような出力を返します。 m = [ 1 2 2 1 1 2 2 1 ] n = 3 の場合、以下のよう...

거의 2년 전

더 보기