how to make a vector of zeros.

9 Ansichten (letzte 30 Tage)
Amireza Hassannejad
Amireza Hassannejad am 11 Nov. 2020
Beantwortet: James Tursa am 11 Nov. 2020
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

Akzeptierte Antwort

James Tursa
James Tursa am 11 Nov. 2020
n = number of zeros
v = zeros(1,n);

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by