how to make a vector of zeros.

16 ビュー (過去 30 日間)
Amireza Hassannejad
Amireza Hassannejad 2020 年 11 月 11 日
回答済み: James Tursa 2020 年 11 月 11 日
hey guys. i want to make a vector of zeros. something like:
V=[0 0 0 0 0 0 0 0 0 0 0 0]
but with so many zeros. please give me a fast solution

採用された回答

James Tursa
James Tursa 2020 年 11 月 11 日
n = number of zeros
v = zeros(1,n);

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by