Matrix define using for loop
Mostrar comentarios más antiguos
How to define the following matrix (penta diagonal) using for loop?

2 comentarios
Walter Roberson
el 27 de Jul. de 2020
Why use a for loop when Bruno already showed you a vectorized solution?
mathru
el 27 de Jul. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!