Hello! I have the values ​​obtained from the matrix E = 1x11004, with some operations in the loop I need to remove the last values, can I do 1x11004 + 2 = 1x11006. My last values ​​are 200 201 200 203, and I want to do 200 201 200 203 0 0

 採用された回答

KSSV
KSSV 2019 年 7 月 9 日
編集済み: KSSV 2019 年 7 月 9 日

0 投票

To add/ append
A = rand(1,10) ;
B = zeros(1,2) ;
iwant = [A B]
To Remove
A = rand(1,12)
A(11:12) = []

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

タグ

質問済み:

2019 年 7 月 9 日

編集済み:

2019 年 7 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by