matrix and making another matrix from it

4 个评论

Okay...so what is the question?
its the question i need to create all of this
thats the final exam and i have to answer it before the time runs out
You have to create it for your final exam for which time is running out. Then what have you attempted? You expect us to to do your home work?
no i have already solved the A branch
only the B branch that i cant solve

回答(1 个)

Hint: For upper triangular major, we use:
[m,n] = size(A) ;
for i = 1:m
for j = 1:n
if i <=j
A(i,j)
end
end
end

2 个评论

Thanks is accepting/voting the answer.

此问题已关闭。

产品

提问:

2020-8-12

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by