![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8435681_1483987502668.jpg)
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...
7 years 前 | 0