Feeds
질문
Performing stats on subsections of a matrix
I have a two row matrix and I want to be able to extract some metrics (i.e. mean, median std) from numbers in the 2nd row based ...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
Calculate differences between all values in vector
I'm trying to produce some code that will calculate the differences between nearly all values in a vector. Specifically, say ...
거의 11년 전 | 답변 수: 3 | 1
3
답변질문
Find length of contiguous numbers in a vector that sum to a given value
I have a column vector, and I need to look within this vector and find a run of contiguous numbers which sum to a specific value...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
Matlab (Mac) suddenly not working on startup
Strange one this, On startup matlab is unresponsive, despite everything appearing to have initialised fine and the status shown ...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
Loop step size issue
Hoping there is a very simple solution to this but being new to matlab can't quite see where I'm going wrong: for i = 10:5:...
대략 12년 전 | 답변 수: 3 | 0
3
답변질문
Find contiguous values in vector that sum to specified value
Hi all, I have a column vector e.g. V=[1 0 2 2 1 1] I need to look within this vector and find a run of contiguous value...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
Dynamic moving average with specific criteria
I have some code that takes a column vector and performs a moving average on these data. The results from the moving average a...
대략 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
Speeding up a loop
Thanks Jan, This seems to have done the trick - much faster and I've learned a lot, cheers
Speeding up a loop
Thanks Jan, This seems to have done the trick - much faster and I've learned a lot, cheers
대략 12년 전 | 0
질문
Speeding up a loop
I have made a simple loop that works fine when dealing with small datasets, but takes ages to run when L is 10^6 in size - whi...
대략 12년 전 | 답변 수: 2 | 0