Poll


Did you know there is an official MATLAB certification?

11 Monate vor | 4779 votes | 2 comments

Poll


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

etwa ein Jahr vor | 2648 votes | 5 comments

Beantwortet
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

mehr als ein Jahr vor | 0

| akzeptiert

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

mehr als ein Jahr vor | 0

Gelöst


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

mehr als ein Jahr vor

Poll


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

mehr als ein Jahr vor | 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...

mehr als ein Jahr vor | 16

Gelöst


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

mehr als ein Jahr vor

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

mehr als ein Jahr vor | 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...

mehr als ein Jahr vor | 4

Poll


My favorite type of Cody problem is:

mehr als ein Jahr vor | 117 votes | 2 comments

Poll


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

mehr als ein Jahr vor | 2455 votes | 6 comments

Poll


How many spaces per tab do you prefer?

fast 2 Jahre vor | 6419 votes | 10 comments

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Poll


Which of the following produces a false value?

fast 2 Jahre vor | 1324 votes | 2 comments

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

fast 2 Jahre vor | 2

| akzeptiert

Beantwortet
Unwanted editor behavior: whitespace only lines trimmed
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

fast 2 Jahre vor | 1

Beantwortet
Smart indent new bheaviour (removing whitespaces) is messing with Git
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

fast 2 Jahre vor | 1

Poll


Which of the following will not produce a 3x3 array of zeros in MATLAB?

fast 2 Jahre vor | 3009 votes | 12 comments

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Gelöst


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

fast 2 Jahre vor

Mehr laden