해결됨


Transpose of matrix
Transpose of matrix as per test cases

약 4년 전

해결됨


Block average
Given a matrix, calculate the block average of each disjoint sub-matrix of the same size. Assume that the size of the matrix alo...

약 4년 전

해결됨


Crunch that matrix!
You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

약 4년 전

해결됨


Adding an element: Ticker tape
* Add stockPrice to the beginning of row array tickerTape

약 4년 전

해결됨


The sliding puzzle: 15
If you are unfamiliar with the sliding puzzle, enter the command _fifteen_ in your MATLAB command window (or search online, of c...

약 4년 전

해결됨


Fifteen Parity Check
The Matlab function fifteen initializes the 4x4 array with randperm(16). This produces 50% unsolvable puzzles. A <https://en.wik...

약 4년 전

문제


Fifteen Parity Check
The Matlab function fifteen initializes the 4x4 array with randperm(16), which produces 50% unsolvable puzzles. A <https://en.wi...

약 4년 전 | 1

해결됨


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

약 4년 전

해결됨


Detect pair of equal values in a Matrix
A 2D matrix of 2 rows and N columns with random integer numbers. A = [3 1 2 4 6 6 7; 7 3 2 1 5 2 4] ...

약 4년 전

해결됨


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

약 4년 전

해결됨


Wien's displacement law
Given the black body temperature (in *Celsius*), output the weavelength (in *meters*) at which the radiation peaks, according to...

약 4년 전

해결됨


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

약 4년 전

해결됨


RGB to CMYK
Convert an RGB code to the corresponding CMYK code for printing. The RGB input is a [1×3] double array between 0 and 1. ...

약 4년 전

해결됨


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

약 4년 전

해결됨


LMI Twins : Fuzzy Image matching
The image below from <http://logicmastersindia.com/2016/04P/ Logic Masters India Marathon 2016> is puzzle "Twins Co-Ordinates" w...

약 4년 전

문제


LMI Twins : Fuzzy Image matching
The image below from <http://logicmastersindia.com/2016/04P/ Logic Masters India Marathon 2016> is puzzle "Twins Co-Ordinates" w...

약 4년 전 | 0

해결됨


String Find with Wildcards of a Cell array
Given a cell array of strings and a search string with single character (?) or multiple character (*) wildness return the indice...

약 4년 전

문제


String Find with Wildcards of a Cell array
Given a cell array of strings and a search string with single character (?) or multiple character (*) wildness return the indice...

약 4년 전 | 0

해결됨


Approximate e
Given a and n, compute and approximation to f = a * e ^ n, without the use of exp, string operations, or floating point numbers....

약 4년 전

해결됨


Sum of Logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

약 4년 전

해결됨


GJam 2016 Rd1A: Rank and File (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/4304486/dashboard#s=p1 GJam Rd1A 2016 Rank and File>. Thi...

약 4년 전

문제


GJam 2016 Rd1A: Rank and File (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/4304486/dashboard#s=p1 GJam Rd1A 2016 Rank and File>. Thi...

약 4년 전 | 0

해결됨


GJam 2016 Rd1A: Rank and File (small)
This Challenge is derived from <http://code.google.com/codejam/contest/4304486/dashboard#s=p1 GJam Rd1A 2016 Rank and File>. Thi...

약 4년 전

문제


GJam 2016 Rd1A: Rank and File (small)
This Challenge is derived from <http://code.google.com/codejam/contest/4304486/dashboard#s=p1 GJam Rd1A 2016 Rank and File>. Thi...

약 4년 전 | 0

해결됨


How many ways to write
How many ways to write a positive integer x as the sum of n numbers , where , x>n and no n number is less than -2.

4년 이상 전

해결됨


Number of divisors of a given number
Given a Number n, return the number of his divisors without listing them example: n=14 ; Divisors={1,7,2,14} ; y=4 n=...

4년 이상 전

해결됨


Rearrange string
Input is a given string. Output is the number of ways to rearrange the string.

4년 이상 전

해결됨


Column arrays: Transpose a row array
* Construct a row array countValues with elements 1 to endValue, using the colon operator. * Transpose countValues to result in...

4년 이상 전

해결됨


Variable sized row arrays
* Reverse the contents of row array mileMarkers

4년 이상 전

해결됨


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

4년 이상 전

Load more