Hello, how can i zero pad inside a matrix ? For example :
if true % code
endA = [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16]And i want A = [ 1 2 3 4 5 6 7 8 0 0 0 0 0 0 0 0 ...... 0 0 0 0 0 0 0 0 9 10 11 12 13 14 15 16]
I know padarray can zero pad but only outside not in the inside.. Thank you.
Best Answer