Matrix define using for loop
Ältere Kommentare anzeigen
How to define the following matrix (penta diagonal) using for loop?

2 Kommentare
Walter Roberson
am 27 Jul. 2020
Why use a for loop when Bruno already showed you a vectorized solution?
mathru
am 27 Jul. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!