if statement with ge and &
I don't understand why the following line is producing an error:
if j ge 2 & cANALY(i+1,j-1) < 0
j is a scalar and cANALY(...
4年弱 前 | 1 件の回答 | 0
1
回答
質問
"Highlight" a vertical gridline on a figure
I have a figure where the range of x values starts at a negative value and goes to a positive value. I would like to "highlight...
min function on two arrays
I've read the documentation on the min function, but still don't understand how it works on two arrays. I have the following:
...
4年弱 前 | 1 件の回答 | 0
1
回答
質問
Sum function on part of an array
I don't understand what the following sum function does.
mA=zeros(M,1);
mA(1)=sum(cA(1,:))*dx;
mA is a column vector, s...