解決済み


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

5年弱 前

解決済み


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

5年弱 前

解決済み


find whether it is prime or not
For a given number find if its prime

5年弱 前

解決済み


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

5年弱 前

解決済み


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

5年弱 前

解決済み


The Matrix Construction
Given two input ,first one is CN (Column Number), Second one is Dim Can you produce such a matrix for example CN=6; Dim=2 ...

5年弱 前

解決済み


Matrix to 3-Column Matrix
Consider a matrix *A* such as A = [1 2 3 3 4 5 6; 2 3 4 5 6 7 8]; Can you convert this matrix to a three-column ...

5年弱 前

解決済み


Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

5年弱 前

解決済み


Vector to 3-Column Matrix
Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...

5年弱 前

解決済み


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

5年弱 前

解決済み


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

5年弱 前

解決済み


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

5年弱 前

解決済み


Number Puzzle - 104

5年弱 前

問題


Number Puzzle - 104

5年弱 前 | 0 | 26 個のソルバー

解決済み


Number Puzzle - 103

5年弱 前

問題


Number Puzzle - 103

5年弱 前 | 0 | 26 個のソルバー

解決済み


Number Puzzle - 102

5年弱 前

問題


Number Puzzle - 102

5年弱 前 | 0 | 25 個のソルバー

解決済み


convert ll

5年弱 前

解決済み


convert I

5年弱 前

解決済み


Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...

5年弱 前

解決済み


Number Puzzle - 101

5年弱 前

問題


Number Puzzle - 101

5年弱 前 | 0 | 24 個のソルバー

解決済み


Factorions: Numbers that equal the sum of the factorials of their digits
From Wikipedia: _A factorion is a natural number that equals the sum of the factorials of its decimal digits_ For example: ...

5年弱 前

解決済み


Colon operator of two vectors
You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

5年弱 前

解決済み


Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x = 123045; x_vec = [1 2 3 0 4 5]; I happened upon a trick ...

5年弱 前

解決済み


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

5年弱 前

解決済み


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

5年弱 前

解決済み


Number Puzzle - 100

5年弱 前

問題


Number Puzzle - 100

5年弱 前 | 1 | 27 個のソルバー

さらに読み込む