Creation of a matrix (24,72) with unit lower triangular matrix?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ET-TAOUSSI mehdi
am 2 Feb. 2016
Kommentiert: ET-TAOUSSI mehdi
am 2 Feb. 2016
Hello. I want to create a matrix M5(24,72) (see fig) using a unit lower triangular matrix.

0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
James Tursa
am 2 Feb. 2016
Bearbeitet: James Tursa
am 2 Feb. 2016
Try this (caution, untested):
M5 = zeros(24,72);
M5(:,1:3:end) = tril(ones(24,24));
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!