repeat value vector in matlab

[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

posted @ 2015-11-04 18:12  sumile123  阅读(378)  评论(0编辑  收藏  举报