Feeds
提问
Initializing vs growing a structure
I have read the advice on how to avoid inefficient use of memory by preallocation of matrices using zeros for eg. I am having t...
12 years 前 | 2 个回答 | 1
2
个回答提问
Plot axis limits
I am wasting my life trying to get the axes to go from a to b (ONLY!). For example, the data file goes from 290 to 420 (varia...
13 years 前 | 2 个回答 | 0
2
个回答提问
White space at the ends of some plots and bars
An intermittant problem is that I give matlab a couple vectors to plot, where x is of known length and y matches. But it tacks ...
13 years 前 | 1 个回答 | 0
1
个回答已回答
Looping past the end of an array - I don't see how?
Thanks for your suggestions. It looks like matlab evaluates the while conditions in order such that the i that is over the limi...
Looping past the end of an array - I don't see how?
Thanks for your suggestions. It looks like matlab evaluates the while conditions in order such that the i that is over the limi...
13 years 前 | 0
已回答
Looping past the end of an array - I don't see how?
Is the problem that the array indexes from 0 instead of 1?
Looping past the end of an array - I don't see how?
Is the problem that the array indexes from 0 instead of 1?
13 years 前 | 0
提问
Looping past the end of an array - I don't see how?
When I run this code, it runs K times and bombs (depending on how the array was randomized) due to an array index out of bounds ...
13 years 前 | 5 个回答 | 0
5
个回答已回答
The case of the odd case statement
%sorry for the missing indents before. daylight = 1; while daylight whatever=1; while whatever r = fix(2.99...
The case of the odd case statement
%sorry for the missing indents before. daylight = 1; while daylight whatever=1; while whatever r = fix(2.99...
13 years 前 | 0
提问
The case of the odd case statement
So I entered the following code and tried it with the dispaly(r) either commented out or not. Its just trying to try all case s...
13 years 前 | 2 个回答 | 0