for the code below I received the error index exceeds.. I do not know how can I fix it.
x = zeros( 2,length(v0) ) ; for k = 1:length(v0) A = [ factor1(:,k) factor2(:,k)]; b = -rhs(:,k); x(:,k) = A\b ; //end of for
length v0 = 2501
A\b is 2 by 2 matrix but x(:,k) is 2 by 2501.
No products are associated with this question.