Building a big matrix

1 view (last 30 days)
Ricardo López
Ricardo López on 22 Oct 2020
Commented: Ameer Hamza on 22 Oct 2020
Hello people,
Does anyone know how to build a matrix like this one?
Thank you!

Accepted Answer

Ameer Hamza
Ameer Hamza on 22 Oct 2020
Edited: Ameer Hamza on 22 Oct 2020
Are you trying to create an upper tiangular matrix? Read about triu: https://www.mathworks.com/help/matlab/ref/triu.html
  4 Comments
Ricardo López
Ricardo López on 22 Oct 2020
Yeeees! Many thanks
Ameer Hamza
Ameer Hamza on 22 Oct 2020
I am glad to be of help! :)

Sign in to comment.

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!