Community Profile

photo

Jia Hong Loh


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


left side are not compatible with the size of the right side.
>> A=[-8,5,-2,0;-5,2,1,-2;10,-8,6,-3;3,-2,2,0]; >> b=[-29,-26,25,20]; >> cramer(4) Unable to perform assignment because the i...

3 years ago | 1 answer | 0

1

answer

Question


please help to solve the issue below, I couldn't replace the Matrix A with matrix b. For example, Matrix A is 4x4 and Matrix b is 4x1. What can I do?
function cramer(n) A=[]; b=[]; x=[]; for i=1:n B=A; B(:,i) = b; xi=det(B)/det(A); x=...

3 years ago | 1 answer | 0

1

answer