Generating a definite matrix
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Hello,
I am unable to find the code of generating the matrix A=[1 0 0 0
1 2 0 0
1 2 3 0
1 2 3 4].
Can anyone please help me finding the right code for finding it?
1 Kommentar
Rik
am 12 Sep. 2019
What do you mean? Pasting that into Matlab should already create that matrix.
Antworten (1)
Walter Roberson
am 12 Sep. 2019
tril(repmat(1:4, 4, 1))
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!