Gelöst


Calculating Sign Changes in a Row Vector(No Element Is Zero)?
For a row vector V=[7 1 2 -3] has one sign change from 2 to -3. So N=Sign_Changes(V) must return N=1; V=[5 9 -2 7]; h...

fast 13 Jahre vor

Gelöst


Metamorphosis
Inspired by problem <http://www.mathworks.com/matlabcentral/cody/problems/866-community-problem-500 866>. Can you make your c...

fast 13 Jahre vor

Gelöst


Range Testing
Range Testing. Write a function that sets y = the range of input array x

fast 13 Jahre vor

Gelöst


Get me! v4 (Cody hacking challenge)
The latest version of the anti-hack test-suite.

fast 13 Jahre vor

Gelöst


Get me! v3
A harder version of Get me! I *think* I only left one door open.. we could be close to a perfect anti-cheating engine,

fast 13 Jahre vor

Gelöst


Get me! v2
Exploiting cody v2

fast 13 Jahre vor

Gelöst


Get me!
Inspired by Now! problems. Do your best!

fast 13 Jahre vor

Gelöst


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

fast 13 Jahre vor

Gelöst


What? Paradox?
What's going on here?

fast 13 Jahre vor

Gelöst


normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...

fast 13 Jahre vor

Problem


Singularity v5 (with apologies to the true hack masters)
Since the vast majority of recent problems are how to hack Cody, here's another one, with an even more malformed test suite than...

fast 13 Jahre vor | 2 | 13 Lösungsvorschläge

Gelöst


Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

fast 13 Jahre vor

Gelöst


PACMAT 09 - Awesome Tunnelling Ghosts, Equal Speed, 20 Lives, Game Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. Twenty lives are available. Adjacent G...

fast 13 Jahre vor

Gelöst


Modular multiplicative inverse
Modular multiplicative inverse is used for _The Chinese Remainder Theorem_ and _RSA algorithm_. You can visit <http://en.wikiped...

fast 13 Jahre vor

Gelöst


Ripping numbers apart!
So you have to "rip" a number apart into individual digits... The end output is a cell. That is if: x = 12345678 o...

fast 13 Jahre vor

Gelöst


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

fast 13 Jahre vor

Gelöst


Path Optimization thru N words : Time Optimization
This is an extension of <http://www.mathworks.com/matlabcentral/cody/problems/196-love-is-an-n-letter-word Cody 196 love> with ...

fast 13 Jahre vor

Gelöst


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

fast 13 Jahre vor

Gelöst


Primes Faster for Large N
This Challenge is to improve the "primes" function for speed. This may be accomplished by fixing memory usage. The Matlab fun...

fast 13 Jahre vor

Gelöst


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

fast 13 Jahre vor

Gelöst


Numeric array to cell array of strings (easy)
Given a numeric array (A) and a 1xk cell array of strings (C), return a cell array (B) that is the same size as A and in which e...

fast 13 Jahre vor

Problem


Generate a Parasitic Number
This problem is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/156-parasitic-numbers Problem 156>. ...

fast 13 Jahre vor | 7 | 98 Lösungsvorschläge

Gelöst


The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...

fast 13 Jahre vor

Gelöst


Add two numbers
Add two numbers (For beginners)

fast 13 Jahre vor

Gelöst


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

fast 13 Jahre vor

Gelöst


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

fast 13 Jahre vor

Gelöst


Concatenate matrix into 4 quadrants for given number of iteration
If given a matrix and number, output should be its concatenation like wavelet for given number of iterations. Example a ...

fast 13 Jahre vor

Gelöst


Calculate value of capacitor
Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

fast 13 Jahre vor

Gelöst


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

fast 13 Jahre vor

Gelöst


convert matrix to single column
given any matrix, convert it to single column

fast 13 Jahre vor

Mehr laden