Brooke


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Plotting a vertical line using ezplot
I have a graph and I would like to add a vertical line say x=1 to the graph. how might I do that? (Perhaps ezplot doesn't work f...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


A "discrete" contour plot
If M(i,j) is a matrix, How might I plot a contour plot where the (i,j) point on the x,y-plane has altitude M(i,j)? What I ...

mer än 12 år ago | 1 answer | 0

1

answer

Question


Doublesum
Suppose I have matrix with elements M(i,j,k) and I want to sum all the elements corresponding to a fixed k, how might I achieve ...

mer än 12 år ago | 1 answer | 0

1

answer

Question


Deciphering an Error message
What does the following error message mean? ??? Index exceeds matrix dimensions. Error in ==> clabel>inline_labels ...

mer än 12 år ago | 2 answers | 0

2

answers

Question


Coloring
Suppose I have a code that plots contour lines. How might I color in the the region say of altitude >h? Many thanks.

mer än 12 år ago | 1 answer | 0

1

answer

Question


Title of a plot
I would like the title of my plot to be user-defined: So something like: n = input('n: ') title('Plot of ... with n=%5....

mer än 12 år ago | 1 answer | 0

1

answer

Question


Printing only the final result of the while loop
Hi, I have a matlab code that is of the form: Initial conditions values of x, y While loop In which the values of x and y ...

nästan 13 år ago | 0 answers | 0

0

answers

Question


??? Subscript indices must either be real positive integers or logicals
I have a for loop that gives the values of x(n) -- here n is an index. d=0.5;   x(1)=1;   for n=2:10 x(n)= x(n-1)...

nästan 13 år ago | 3 answers | 0

3

answers

Question


A code to draw other codes together
Suppose I have 3 m-codes: code1.m code2.m code3.m and I want a program to "draw them together" in the sense that when we run t...

nästan 13 år ago | 1 answer | 0

1

answer