Function that returns an NxN matrix
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael
am 8 Okt. 2014
Kommentiert: Andrei Bobrov
am 10 Okt. 2014
I need to create a function that when a value for N is entered it returns an NxN identity matrix. But this needs to be done without employing Matlab commands which operate on entire matrices, rows, and columns.
2 Kommentare
Stephen23
am 8 Okt. 2014
All functions require MATLAB commands, starting with the function function.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!