Elizabeth Brito
Followers: 0 Following: 0
Feeds
提问
Create upper triangular matrix using for loop in matlab
v = 1:6; n = round((sqrt(8 * numel(v) + 1) - 1) / 2); M = zeros(n, n); c = 0; for i2 = 1:n for i1 = 1:i2 ...
3 years 前 | 0 个回答 | 0
0
个回答提问
Inverse matrix with for loop, dimensions are wrong I don't know how to fix it
C=[-2,3; 6,5] [m,n]=size(C) z=zeros(m,n) %cofactor c1= C(2,2) c2 = -C(1,2) c3 = -C(2,1) c4 = C(1,1) %cofactor...
3 years 前 | 0 个回答 | 0
0
个回答提问
Inverse matrix with for loop
Using for loops, program a general code for calculating the inverse of a given matrix in the 2X2 and 3X3 cases. Can someone hel...
3 years 前 | 1 个回答 | 0