标签:
[1 1 1 2 2 2 3 3 3]
http://stackoverflow.com/questions/1947889/element-wise-array-replication-in-matlab
http://stackoverflow.com/questions/4918763/populate-matlab-array-with-same-values
[1 2 3 1 2 3 1 2 3]
http://stackoverflow.com/questions/17509090/matlab-duplicate-each-element-of-a-vector
标签:
原文地址:http://www.cnblogs.com/sumile123/p/4936844.html