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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0
1
답변질문
Deciphering an Error message
What does the following error message mean? ??? Index exceeds matrix dimensions. Error in ==> clabel>inline_labels ...
12년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0