how to make a vector of zeros.

15 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by