copy and add elements and expand array
古いコメントを表示
Hello everyone. I have a question.
I have an array which has 500 elements such as A = [1,2,3,4,5,6,7...500]
And I want to copy last values of the each dual arrays and add them after dual arrays like that --> B = [1,2,2,3,4,4,5,6,6,7,8,8,.....,500]
How can I do this?
Thanks..
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!