문제를 풀었습니다


Find out the Gray Code for a Given Binary Number
Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...

대략 5년 전

답변 있음
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)...

5년 초과 전 | 0

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

5년 초과 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

5년 초과 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

5년 초과 전

답변 있음
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...

5년 초과 전 | 1

| 수락됨

답변 있음
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*...

5년 초과 전 | 0

| 수락됨

답변 있음
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...

5년 초과 전 | 0

질문


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

5년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Draw a '1' in a zero matrix!

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

답변 있음
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...

5년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Matrix Pattern 6

5년 초과 전

문제를 풀었습니다


Matrix Pattern 5

5년 초과 전

문제를 풀었습니다


Matrix Pattern 9

5년 초과 전

문제를 풀었습니다


Matrix Pattern 10

5년 초과 전

문제를 풀었습니다


Matrix Pattern 8

5년 초과 전

더 보기