Feeds
提问
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...
12 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
12 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Deciphering an Error message
What does the following error message mean? ??? Index exceeds matrix dimensions. Error in ==> clabel>inline_labels ...
12 years 前 | 2 个回答 | 0
2
个回答提问
Coloring
Suppose I have a code that plots contour lines. How might I color in the the region say of altitude >h? Many thanks.
12 years 前 | 1 个回答 | 0
1
个回答提问
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....
12 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
13 years 前 | 0 个回答 | 0
0
个回答提问
??? 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)...
13 years 前 | 3 个回答 | 0
3
个回答提问
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...
13 years 前 | 1 个回答 | 0