how do I generate a spiral matrix which starts from first element
Ältere Kommentare anzeigen
there is a command which takes only one arguement as a dimension of a square spiral matrix.But I need a way to generate such a matrix which takes the numbers of rows and columns as inputs and it might not be a square
1 Kommentar
darova
am 9 Jun. 2019
I don't understand. How this matrix should looks like? Can you please show some scheme?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Elementary Math finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
