답변 있음
How to randomize visual presentation trials when each trial contains multiple, separately presented images.
for i = 1: nTrials imshow(image_i) if rand<0.5 (randomly choose A) imshow(image_iGood) else i...

13년 초과 전 | 0

답변 있음
Controlling the frame rate in a MATLAB video
<http://www.mathworks.com/help/releases/R2012a/techdoc/ref/videowriterclass.html> Use the frame rate option.

13년 초과 전 | 0

답변 있음
Column-wise interpolation of an NxM matrix?
Why do you want to vectorize it? If it is working, and it is apparently readable, wouldn't your time be better spent on other...

13년 초과 전 | 0

답변 있음
How to speed up the process of determining if a point is inside a cylinder
For loops are not always a problem. Run this through the profiler to find where the slow down is. I would do something like th...

13년 초과 전 | 0

| 수락됨

답변 있음
Count the number of trend changes in a vector.
You would need to remove the zeros from the first diff vector and diff it again, then count number of non-zeros. The only compl...

13년 초과 전 | 0

답변 있음
Adding more colors to my array
You might want to look into he ColorOrder and LineStyleOrder properties. It seems you might be trying to do somethign where tha...

13년 초과 전 | 0

| 수락됨

답변 있음
How do I reconstruct a DICOM image and then re-slice it along a different axis?
It sounds like these would form a nice 3-d matrix. Is it easy to align all these slices? If it is, then you can use the slice ...

거의 14년 전 | 0

답변 있음
Click on Subplot and Open it in a "New" Figure
You could set the parent property of the axes to a new figure.

거의 14년 전 | 0

문제


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

거의 14년 전 | 1 | 솔버 수: 18

문제를 풀었습니다


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

거의 14년 전

문제


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

거의 14년 전 | 9 | 솔버 수: 269

문제


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

거의 14년 전 | 13 | 솔버 수: 1096

문제


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

거의 14년 전 | 8 | 솔버 수: 871

문제


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

거의 14년 전 | 12 | 솔버 수: 617

문제


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

거의 14년 전 | 12 | 솔버 수: 690

문제를 풀었습니다


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

거의 14년 전

답변 있음
writing a table into a subplot of a figure
I think you are looking for this: <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/uitable.html UITABLE>

거의 14년 전 | 0

| 수락됨

답변 있음
Turn a numeric function into a symbolic one
You will have to enter the function manually if you know it.

거의 14년 전 | 0

답변 있음
3D Plot with line and dot
cornerX = [0 1 1 0 0 1 1 0]; cornerY = [0 0 1 1 0 0 1 1]; cornerZ = [0 0 0 0 1 1 1 1]; edges = [1 2; ...

거의 14년 전 | 1

문제


Steal, Share, or Catch: Tournament of Champions
I am no longer supporting this problem. No changes will be made to put more entries in the test suite, but have fun playing any...

거의 14년 전 | 5 | 솔버 수: 9

문제를 풀었습니다


Steal, Share, or Catch: Tournament of Champions
I am no longer supporting this problem. No changes will be made to put more entries in the test suite, but have fun playing any...

거의 14년 전

문제


Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...

거의 14년 전 | 4 | 솔버 수: 79

문제를 풀었습니다


Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...

거의 14년 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

거의 14년 전

문제를 풀었습니다


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

거의 14년 전

문제


Cumulative probability of finding an unlikely combination
This is a supplemental problem to the <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition CryptoMath> ...

거의 14년 전 | 2 | 솔버 수: 35

문제를 풀었습니다


Cumulative probability of finding an unlikely combination
This is a supplemental problem to the <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition CryptoMath> ...

거의 14년 전

문제를 풀었습니다


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

거의 14년 전

문제


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

거의 14년 전 | 2 | 솔버 수: 257

문제


Getting the row and column location from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get <http://www.mathwo...

거의 14년 전 | 0 | 솔버 수: 299

더 보기