need syntax

回答 (1 件)

Wayne King
Wayne King 2012 年 3 月 19 日

0 投票

One way
x = ones(10,1);
x = [x ; zeros(10,1)];
Another way:
x = ones(10,1);
y = zeros(10,1);
x = vertcat(x,y);

この質問は閉じられています。

タグ

タグが未入力です。

質問済み:

2012 年 3 月 19 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by