Réponse apportée
To this code I want to add the property that every new turn renderes a new color in the plot
Hi Robert, The above is a preview (I hope this is what you asked) Here is the code (done for example for the case nturns=5)...

environ 5 ans il y a | 0

A résolu


Draw a '4' 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 '9' 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 '8' 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 '5' in a zero matrix!

environ 5 ans il y a

Réponse apportée
How do I find which element of the matrix was used for this equation?
Hi, just call max with two output arguments Please let me know if rowWithMaximumDifference below is what you want Best wishes...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Nested for loop vectorization
% Hi, in your code p is not defined. I assume it is a scalar % If you want to avoid the loop the answer is % Mat=exp(-theta*...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Import arrays in a matrix
% Please let me know if the code below is what you are looking for a=[1;2;3;4;5]; b=[6;7;8]; c=[9;10;11;12;13;14]; maxLeng...

environ 5 ans il y a | 0

Question


Set default documentation location programmatically in R2021A
Starting in R2021a, when you run MATLAB with an internet connection, the Help browser displays the web documentation by default....

environ 5 ans il y a | 1 réponse | 0

1

réponse

A résolu


Draw a '1' in a zero matrix!

environ 5 ans il y a

A résolu


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

environ 5 ans il y a

A résolu


Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

environ 5 ans il y a

A résolu


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

environ 5 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ 5 ans il y a

Réponse apportée
Eigenvalues (eig) and singular values (svd)
Hello Gabri, the answer in short is: "the difference is due to numerical errors". For example in the normal case % Normal cas...

plus de 5 ans il y a | 0

| A accepté

A résolu


Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

plus de 5 ans il y a

A résolu


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

plus de 5 ans il y a

A résolu


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

plus de 5 ans il y a

A résolu


Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

plus de 5 ans il y a

A résolu


Matrix Pattern 6

plus de 5 ans il y a

A résolu


Matrix Pattern 5

plus de 5 ans il y a

A résolu


Matrix Pattern 9

plus de 5 ans il y a

A résolu


Matrix Pattern 10

plus de 5 ans il y a

A résolu


Matrix Pattern 8

plus de 5 ans il y a

A résolu


Matrix Pattern 7

plus de 5 ans il y a

Charger plus