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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by