diag(.) does not work
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos

diag function works in a wrong way as shown in the figure. How can i fix it?
2 comentarios
Respuestas (2)
Walter Roberson
el 27 de Oct. de 2018
I suspect you accidentally assigned zeros to a variable named diag, so your call is indexing rather than invoking the function.
0 comentarios
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!