답변 있음
How to interpolate between matrices over time?
To complete the last interpolation bit, it is as simple as: R = (M(linhi) - 10)./(M(linhi) - M(linlo)); pixtimes = (1-R)...

9년 초과 전 | 0

| 수락됨

답변 있음
Generate A Sequence of 25 Independent Bernoulli RVs with p = .8?
If you are not too concerned about efficiency, and I suspect that you are not, you could use a while loop. p = 0.8; Y(35...

9년 초과 전 | 0

| 수락됨

답변 있음
Efficient way to calculate backwards average
s = sum(A); n = length(A); A2 = (s - cumsum(A))/n; is a little more elegant and I would think faster. But you have t...

9년 초과 전 | 0

답변 있음
can't solve an equation
Maybe you need to specify a rough domain where the solution lies or a starting point for the iteration? The solver may not be lo...

9년 초과 전 | 2

| 수락됨

질문


Automatic deep copy of handle inside class object.
Is there any way in Matlab to have automatic deep copy of a handle object that is contained inside a class? Occassionally, class...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Why is m-function overhead 100 times more than built-in overhead.
function Ignore(a) end Then run the following: tic; for i = 1 : 200000 Ignore(A); end toc; Elapsed...

9년 초과 전 | 답변 수: 0 | 3

0

답변

문제를 풀었습니다


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

거의 10년 전

문제를 풀었습니다


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

거의 10년 전

답변 있음
Generating random number from a pdf
For simplicity, assume that the distribution has bounded support, i.e: There is some Mx and My such that f(x,y) is zero for a...

거의 10년 전 | 0

문제를 풀었습니다


Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

거의 10년 전

질문


uipanel not clipping child uipanel
h_figure = figure; this.h0 = uipanel('Parent', h_figure, 'Clipping', 'on'); this.h1 = uipanel('Parent', h0); h1 is ...

거의 10년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
Point number 5 also got mysteriously deleted. :-)) Perhaps some changes are required in the 'answers' section. Posting it again:...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
_GOOD FEATURE 5. Debugger works well and is easy to use. Regards, Sandeep

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
_GOOD_ feature 4. Execution times for core algorithms are really good and appear to be constantly improving over releases. Re...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
_GOOD Feature 3. Easy to use parallelization and improving. Core algorithms are well parallelized. Regards, Sandeep

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
_GOOD_ Feature 2. Core IDE features work well, (workspace, variable and text editor) even if somewhat basic. Regards, Sandee...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
_GOOD_ Feature 1. A very easy to use profiler, if not always so accurate. Regards, Sandeep

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
10. Abilty to undock windows as group. For example suppose I want just the Workspace Window and tha Variable Editor in a single ...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
9 Scrolling Figure Windows! I mean, is it all that difficult to implement or do the people at Matlab feel that they would be tak...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
8. Ability to Disable Drag and drop in Editor and in Current Folder Window. Regards, Sandeep

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
8. Matlab was originally intended to be a matrix calculator. However, as with other tools, it is being used to do things far bey...

거의 10년 전 | 1

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
7. Suppose there is a file called Foo in the current folder. Suppose you try to create a file called FooBar in the same folder. ...

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
6. Keyboard shortcuts to switch between the different numeric format displays. Regards, Sandeep

거의 10년 전 | 0

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
5. When you right click on a function name or class name 'Foo' and select Open 'Foo', the file that is opened often has no relat...

거의 10년 전 | 1

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
4. Is it possible to better manage the plethora of Variable Editor tabs that open up when navigating into a cellarray, struct or...

거의 10년 전 | 1

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
3. The Matlab help system can be a lot more helpful. Why is it not even possible to resize the context sensitive help window tha...

거의 10년 전 | 0

더 보기