Answered
Marker color not displaying correctly in legend
Hi Colin, From your code, there are 32 iterations in the for loop. Do you expect that for each i, will at least one of the e...

12 years ago | 0

Answered
Using getpts to get selected points
Hi med-sweng, According to the documentation for getpts, the valid inputs to this function are a figure (fig), the axes speci...

12 years ago | 2

Answered
Memory usage in sparse matrix
Hi tanmoy, The documentation for this function states something like the following (when you run *help sparse* from the comma...

12 years ago | 3

Answered
How can I distinguish between array structure in JAVA and Matalb? (code conversion)
Hi Abdulatif, Based in the java code that you have included in your question, the inputs to the function are two vectors, num...

12 years ago | 0

| accepted

Answered
How to stop a while loop when 'N' is entered
Hi Samantha, Your while loop will run forever as it is not dependent upon any variable, only on the fixed constant 'Y' (which...

12 years ago | 2

Answered
For loops & lengths/size command
Hi Samantha, I guess that you are asking how to go about iterating (via a for loop) over a vector or matrix or whatever using...

12 years ago | 12

Answered
How to write a function that returns the element that is the center of a vector or matrix?
Hi Kimberly, Your function signature could look something like this: *function* [ctr] = *find_centre* (x) <code to ...

12 years ago | 0

| accepted