double a number within a matrix with a certain characteristic

1 回表示 (過去 30 日間)
AA
AA 2015 年 10 月 1 日
回答済み: Walter Roberson 2015 年 10 月 1 日
736231
736202
736169
how can I turn this matrix into a matrix with the following characteristics:
736231
736230
736202
736201
736169
736168

採用された回答

Walter Roberson
Walter Roberson 2015 年 10 月 1 日
result = reshape([YourMatrix.'; YourMatrix.'-1], [], 1);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWord games についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by