Incorrect results of inverse tall array
Hi,
I am using tall array and testing the inverse of A? (pseudo inverse). The system is linear Ax=b. A:245*9, x: 9*1, b:245*1.
However, with the same matrices, the results of gather(A/b) is incorrect, 1st to 7th elements are NaN, 8th is -inf. The last one is the same with non-tall array results.
A_ds = arrayDatastore([C d], "OutputType","same");
At = tall(A_ds);
A = At(:,1:9);
B1 = At(:,10);
X=AB1; % solve X in equation A*X=B1
X_1=gather(X);
Y=Cd; % solve X in non-tall array, benchmark
Any one can help this case?
Thanks in advance.Hi,
I am using tall array and testing the inverse of A? (pseudo inverse). The system is linear Ax=b. A:245*9, x: 9*1, b:245*1.
However, with the same matrices, the results of gather(A/b) is incorrect, 1st to 7th elements are NaN, 8th is -inf. The last one is the same with non-tall array results.
A_ds = arrayDatastore([C d], "OutputType","same");
At = tall(A_ds);
A = At(:,1:9);
B1 = At(:,10);
X=AB1; % solve X in equation A*X=B1
X_1=gather(X);
Y=Cd; % solve X in non-tall array, benchmark
Any one can help this case?
Thanks in advance. Hi,
I am using tall array and testing the inverse of A? (pseudo inverse). The system is linear Ax=b. A:245*9, x: 9*1, b:245*1.
However, with the same matrices, the results of gather(A/b) is incorrect, 1st to 7th elements are NaN, 8th is -inf. The last one is the same with non-tall array results.
A_ds = arrayDatastore([C d], "OutputType","same");
At = tall(A_ds);
A = At(:,1:9);
B1 = At(:,10);
X=AB1; % solve X in equation A*X=B1
X_1=gather(X);
Y=Cd; % solve X in non-tall array, benchmark
Any one can help this case?
Thanks in advance. matlab, matrix, tall array MATLAB Answers — New Questions