Effective matrix defining (diagonals)
Show older comments
hi, i would like to get some help with defining the next matrix in the easiest way. i know the diag() function but i didnt find a way the define the non-main diagonals.

Accepted Answer
More Answers (1)
Nitzan Haviv
on 4 Aug 2021
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!