A résolu


Extract Built In Functions and Toolbox Functions from String or Function Handle
Find the Built-In functions and Toolbox functions in either a string or a function handle. Generate a string of alphabetized ...

presque 12 ans il y a

A résolu


Crossing to Kissing - Untangle the Lines
Turn lines that cross into lines that kiss. You will be given two lines that cross at some point. Your job is to untangle the...

presque 12 ans il y a

A résolu


Back to the future II
See test suite

presque 12 ans il y a

A résolu


Back to the Future III
Marty McFly and Doc Brown are "back" again. See the test suite to see what they are up to.

presque 12 ans il y a

A résolu


Back to the future
See test suite See also: http://www.mathworks.com/matlabcentral/cody/problems/2449-back-to-the-future-ii

presque 12 ans il y a

A résolu


Clear functions with the same name in different packages independently
See the test suite. N.B.: Overwriting files or functions a.k.a. cheating is not necessary.

presque 12 ans il y a

A résolu


Now! (Anticheating version 1)
By now, _Problem 901. Now!_ has not been solved without the use of cheats or hacks. <http://www.mathworks.com/matlabcentral/c...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


Forward Substitution
Solve a lower triangular linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


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,

presque 12 ans il y a

A résolu


Factorial: Unlimited Size : java.math
This challenge is an application of java.math that allows unlimited precision calculations. The primary reference sites are <ht...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

presque 12 ans il y a

A résolu


Convert matrix to 3D array of triangular matrices
Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...

presque 12 ans il y a

A résolu


Backward Substitution
Solve a upper triangular linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/...

presque 12 ans il y a

A résolu


Polite numbers. Politeness.
A polite number is ans integer that sums of two or more consecutive nonnegative integers. Politeness of a positive integer is a...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


The Ulam Matrix
The Ulam spiral is simple to describe. On a gridded piece of paper, write down the number 1. Then write successive integers as y...

presque 12 ans il y a

A résolu


Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

presque 12 ans il y a

A résolu


Find Excess 3 code of given decimal number.
Find Excess 3 code of given binary number. <http://en.wikipedia.org/wiki/Excess-3/ Excess-3> In XS-3, numbers are represe...

presque 12 ans il y a

A résolu


Wrap a vector, but insert NaN's at the wrap-positions.
When you plot a line that wraps, and do not want the sawtooth shape to show up in the plot, you can either draw all separate lin...

presque 12 ans il y a

A résolu


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

presque 12 ans il y a

A résolu


Find the first N zeros of the 666 function
Using the following definition of the 666 function for this problem: _f(n)=sin('nnn')-cos(n*n*n)_, write a function that returns...

presque 12 ans il y a

A résolu


Find Elements in Range
Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


Diagonal of a Spiral Matrix
Write a function that will return same output as diag(spiral(n)). The only exception is that spiral and diag functions are not a...

presque 12 ans il y a

A résolu


Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

presque 12 ans il y a

A résolu


remove single elements
Given a vector of integers, remove the elements that have appeared only once. The output elements should be in exact order as th...

presque 12 ans il y a

Charger plus