Answered
Adding a column every nth column without replacing existing one
It is every 2th column. Now I put it in Answer this question rowA=size(A,1); colA=size(A,2); B=zeros(rowA,colA*2); B(:,1:2:2...

5 years ago | 1

Answered
regexp help when comparing strings
The function regexpi needs the second argument expression must be a regular expression! About what is regular expression, you c...

5 years ago | 0

Answered
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 7.252760e-17.
It seems that A-lamda*eye(n) is nearly singular, you should check it carefully! mabey you can use another computing method.

5 years ago | 0