Resuelto


Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...

7 meses hace

Resuelto


Average Number of Moves for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...

7 meses hace

Resuelto


Transition Matrix for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...

7 meses hace

Resuelto


Leaderboard for the Nedball World Cup
At the upcoming inaugural Nedball World Cup, organizers need to track who is in the lead for the coveted Golden Toeplitz trophy,...

7 meses hace

Resuelto


Government of the Neds, by the Neds, for the Neds - Distribute the Nedsburg City Councilors
The city of Nedsburg consists of several islands, the number of which changes regularly, due to tectonic forces, shoddy civil en...

7 meses hace

Discussion


Efficient way to solve Cody problems
If you have solved a Cody problem before, you have likely seen the Scratch Pad text field below the Solution text field. It prov...

7 meses hace | 0

Resuelto


The Bridges of Nedsburg
The fabled city of Nedsburg consists of several islands connected by bridges. Due to tectonic forces, shoddy civil engineering, ...

7 meses hace

Discussion


Untapped Potential for Output-arguments Block
Untapped Potential for Output-arguments Block MATLAB has a very powerful feature in its arguments blocks. For example, the foll...

12 meses hace | 5

Poll


Did you know there is an official MATLAB certification?

más de 1 año hace | 4779 votes | 2 comments

Poll


The default margins for figure windows in MATLAB are...

más de 1 año hace | 2648 votes | 5 comments

Respondida
Quench Simulation with finite difference. Assistance with implementing variying thermal conductivity (k) for changes in temperature (T))
Does this work?: if T >= 1066 kth_polyVec = [14.6, 0.01]; else kth_polyVec = [50.3, -0.02]; end

más de 1 año hace | 0

| aceptada

Respondida
Can't open additional instance of MATLAB in release 2024b?
I am using an older Mac (Intel) and OS (Ventura), so, I do not know if this will help. Nonetheless, I am still able to open an ...

más de 1 año hace | 0

Resuelto


Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...

más de 1 año hace

Poll


Do you have the tab key insert spaces instead of tabs?

más de 1 año hace | 1810 votes | 5 comments

Discussion


Congratulations to William!
I was browsing the MathWorks website and decided to check the Cody leaderboard. To my surprise, William has now solved 5,000 pro...

casi 2 años hace | 16

Resuelto


Creating a matrix by taking shifted copies of a given vector v as columns
This problem is the same as the problem 761 except that here we are testing it for any given vector ; a row or column vector. Th...

casi 2 años hace

Discussion


+1 for Backwards Loops!
Base case: Suppose you need to do a computation many times. We are going to assume that this computation cannot be vectorized. ...

alrededor de 2 años hace | 15

Discussion


Trick: Easy Digit Manipulation
There are a host of problems on Cody that require manipulation of the digits of a number. Examples include summing the digits of...

alrededor de 2 años hace | 4

Poll


My favorite type of Cody problem is:

alrededor de 2 años hace | 117 votes | 2 comments

Poll


Which of the following is not a built-in string-checking function?

alrededor de 2 años hace | 2455 votes | 6 comments

Poll


How many spaces per tab do you prefer?

alrededor de 2 años hace | 6419 votes | 10 comments

Poll


Which of the following does not return the correct length (5) of v = [6,2,9,7,3]?

alrededor de 2 años hace | 2537 votes | 4 comments

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Poll


Which of the following is not really a missing value? (Or, which option is false?)

alrededor de 2 años hace | 896 votes | 3 comments

Poll


Which of the following produces a false value?

alrededor de 2 años hace | 1324 votes | 2 comments

Respondida
Smart Indenting now Removes Whitespace
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

alrededor de 2 años hace | 2

| aceptada

Cargar más