create diagonal matrix zeros
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ben Mai
am 28 Jan. 2020
Beantwortet: Ben Mai
am 28 Jan. 2020
I'm trying to create a matrix like this:

I'm able to create one matrix with a=diag(1:10)
and another with b=(1:10)+(0:9)'
But I don't know how to combine them together to get A.
Thanks for your help
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!