Clear Filters
Clear Filters

how to make a vector of zeros.

15 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!