A résolu


Data decompression
A chunk of data is to be 'decompressed'. Input: * compressed: a row vector of uint8 values. This is the compressed data. ...

environ 5 ans il y a

A résolu


Normalizing a vector

environ 5 ans il y a

A résolu


Draw a '9' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '8' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '7' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '6' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '5' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '4' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '3' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '2' in a zero matrix!

environ 5 ans il y a

A résolu


Draw a '1' in a zero matrix!

environ 5 ans il y a

A résolu


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

environ 5 ans il y a

Réponse apportée
Precision problem while solving Cody Problems
There are quite a few problems that have been posted to Cody that erroneously use isequal() to test answers, rather than using a...

plus de 5 ans il y a | 2

| A accepté

A résolu


Scrabble Scores - 4
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

environ 6 ans il y a

Discussion


Cody - Draw Letters
<https://www.mathworks.com/matlabcentral/cody/home Cody> has a wealth of <https://www.mathworks.com/matlabcentral/cody/groups/ p...

environ 6 ans il y a | 7

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

plus de 6 ans il y a

A résolu


return row and column indices given 2 values which define a range
Inspired by problem <http://www.mathworks.co.kr/matlabcentral/cody/problems/856-getting-the-indices-from-a-matrice> Inputs: - ...

plus de 6 ans il y a

A résolu


Morse Code Generator! Try it!
.... . .-.. .-.. --- . ...- . .-. -.-- --- -. . -.-.-- .-.. . - ... -.. --- ... --- -- . -- --...

plus de 6 ans il y a

Problème


Lights Out 15 - 5x5, broken buttons I
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

plus de 6 ans il y a | 1 | 15 solveurs

A résolu


Get Next Combination
Return next combination For example three-element combinations of 1:5 1 2 3 1 2 4 1 ...

presque 7 ans il y a

A résolu


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

presque 7 ans il y a

A résolu


Pascal's Equilateral triangle inside a Matrix!!!
Given a number of row 'n', generate the following pascal's matrix 'p' where spaces are filled by 'zeros'. number of row, n = ...

presque 7 ans il y a

A résolu


Find the centre of an arc and its radius
Given two points on an arc (x0,y0) and (x1,y1) and the angle between them, alpha. Return the centre of the circle and the rad...

presque 7 ans il y a

A résolu


Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.

presque 7 ans il y a

Problème


Lights Out 14 - 5x5, four stages, x moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

environ 7 ans il y a | 1 | 12 solveurs

Problème


Lights Out 13 - 5x5, three stages, x moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

environ 7 ans il y a | 1 | 12 solveurs

A résolu


Parsing Expressions - Binary Arithmetic Operators I
Parse and evaluate expressions like these: '1 + 2' '51 - 78' '42 * 9' The only operators are +, -, *. Both argu...

environ 7 ans il y a

A résolu


Given a matrix A return a vector of the product of the elements in each column using a loop without using prod.
--------------------- for m: 3 1 3 3 10 1 9 1 9 4 1 4 5 6 5 ...

environ 7 ans il y a

Charger plus