photo

Steve D


UCSD

Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 12 anni fa | 2 risposte | 1

2

risposte

Domanda


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

circa 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 13 anni fa | 1 risposta | 0

1

risposta

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

oltre 13 anni fa | 0

Risposto
Looping past the end of an array - I don't see how?
Is the problem that the array indexes from 0 instead of 1?

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 5 risposte | 0

5

risposte

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

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 2 risposte | 0

2

risposte