I have a vector similar to [-3 -2 -1 1 2 3] and I would like to add a zero in the center so the new vector would be [-3 -2 -1 0 1 2 3] but I am unsure of how to do this.

 採用された回答

Brett Shoelson
Brett Shoelson 2011 年 2 月 10 日

0 投票

Michael, See if you can figure it out from this response:
Post back if you still have difficulties.
Cheers,
Brett

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by