Problema


Update course numbers and abbreviations
Suppose that the educational institution where you teach purchases new software to handle many essential functions, including co...

circa 2 anni fa | 2 | 8 risolutori

Risolto


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

circa 2 anni fa

Risolto


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Remove a specific character with another
Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

circa 2 anni fa

Risolto


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Hamiltonian Cycle
This is related to the Travelling Salesman Problem 1339 created by Alex P. A Hamiltonian cycle or traceable cycle is a path tha...

circa 2 anni fa

Risolto


Langston's Ant
The <http://en.wikipedia.org/wiki/Langton%27s_ant Langston's Ant> Challenge is to determine the number of Black squares after K ...

circa 2 anni fa

Risolto


Remove a specific column with min value
Remove the column that contain the min value in the matrix?

circa 2 anni fa

Risolto


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

circa 2 anni fa

Risolto


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

circa 2 anni fa

Risolto


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

circa 2 anni fa

Problema


List ways to make a sum in Killer Sudoku
In Sudoku, the subject of several Cody problems, one tries to arrange the digits 1 through 9 in a 9x9 grid (of nine 3x3 boxes) s...

circa 2 anni fa | 1 | 3 risolutori

Problema


Compute a sum involving the zeta function
Write a function to compute the sum for , where is the zeta function, the subject of Cody Problems 45939, 45988, and 45997.

circa 2 anni fa | 0 | 6 risolutori

Risolto


Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

circa 2 anni fa

Risolto


Evaluate Poker Hand
Given an input table of card values and card suits between five and thirteen cards, choose the best five cards and output the ra...

circa 2 anni fa

Risolto


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...

circa 2 anni fa

Risolto


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

circa 2 anni fa

Risolto


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

circa 2 anni fa

Problema


Compute the polylogarithm for real arguments
The polylogarithm appears in quantum statistics and quantum electrodynamics, and for special cases of and , it connects to the...

circa 2 anni fa | 0 | 2 risolutori

Risolto


Find the path through the cell
A list of cells is given. Return true if the elements of the list increase monotonically (each element is strictly larger tha...

circa 2 anni fa

Risolto


Create rectangular function.
Rectangular function - Wikipedia

circa 2 anni fa

Problema


Count paths between corners of a grid that remain on or below the diagonal
Consider motion from the lower left corner of a square grid to the upper right corner. The motion is constrained in two ways: (1...

circa 2 anni fa | 0 | 3 risolutori

Risolto


Integrate a power tower
Write a function to compute this integral where . That is, the integrand is (x to the x) to the (x to the x) to the (x to the...

circa 2 anni fa

Risolto


Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

circa 2 anni fa

Risolto


GJam 2012 Qualifier: Tongues
This Challenge is a Warm-Up for <http://code.google.com/codejam/schedule.html Google Code Jam 2014> Qualifying round coming up o...

circa 2 anni fa

Risolto


Remove TeX from string
Matlab’s TeX support in figure windows is great for displaying information in a visually appealing way. However, many of the TeX...

circa 2 anni fa

Risolto


Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...

circa 2 anni fa

Risolto


Determine the Result of a Move in Reversi
Note: This is closely related to <http://www.mathworks.com/matlabcentral/cody/problems/2538-find-the-next-legal-move-in-reversi ...

circa 2 anni fa

Risolto


Carmichael Function
Compute the carmichael function for the input.

circa 2 anni fa

Carica altro