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 ...
10 years 前 | 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 ...
10 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0