matrix and making another matrix from it

4 Comments

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

Answers (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 Comments

Thanks is accepting/voting the answer.

This question is closed.

Products

Asked:

on 12 Aug 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!