Function that returns an NxN matrix
Mostra commenti meno recenti
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 Commenti
Andrei Bobrov
il 8 Ott 2014
in MATLAB without employing Matlab commands - how?
Stephen23
il 8 Ott 2014
All functions require MATLAB commands, starting with the function function.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!