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...
12年弱 前 | 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 ...
12年以上 前 | 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:...
13年弱 前 | 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...
13年弱 前 | 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...
13年弱 前 | 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
13年弱 前 | 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...
13年弱 前 | 2 件の回答 | 0
