How to get Ones along the diagonal
38 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I need a matrix of size 5x5 with ones along the diagonal and remaining values to be zero. How to get this.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!