Akhlaqur Rahman
Followers: 0 Following: 0
Feeds
已回答
Grouping continuous nonzero in a row vector
y = [1 2 1 3 1 4 0 0 0 0 4 5 2 3 0 0 5 4 2 3 0 0 0 4 5 3]; y = padarray(y,[0,3]); y1 = uint8(y>0); k = 1; j = 1; for i = 1...
Grouping continuous nonzero in a row vector
y = [1 2 1 3 1 4 0 0 0 0 4 5 2 3 0 0 5 4 2 3 0 0 0 4 5 3]; y = padarray(y,[0,3]); y1 = uint8(y>0); k = 1; j = 1; for i = 1...
8 years 前 | 0