how to make a vector of zeros.

17 visualizaciones (últimos 30 días)
Amireza Hassannejad
Amireza Hassannejad el 11 de Nov. de 2020
Respondida: James Tursa el 11 de Nov. de 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

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by