how to pad the matrix with ones?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad
am 21 Aug. 2021
Beantwortet: Walter Roberson
am 21 Aug. 2021
i want to padded the input matixe of any row and colum with one
for eaxmple if i take input matrix A
A = 1 2 3
4 5 6
7 8 9
then padden one should be
A = 1 1 1 1 1
1 1 2 3 1
1 4 5 6 1
1 7 8 9 1
1 1 1 1 1
for it is there is any command or if not then what will be the code
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Assembly 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!