how to set a one dimensional matrix flag ,which length is 65536 and each of its elements is zero.?

1 Ansicht (letzte 30 Tage)
matrix flag 1*65536

Akzeptierte Antwort

Vishnu Vardhan
Vishnu Vardhan am 21 Jun. 2019
Bearbeitet: madhan ravi am 21 Jun. 2019
flag = zeros(1,65536);

Weitere Antworten (2)

KSSV
KSSV am 21 Jun. 2019
Bearbeitet: KSSV am 21 Jun. 2019
iwant = zeros(1,65536) ;
Read about zeros. If you want ones, read about ones.

Steven Lord
Steven Lord am 21 Jun. 2019
Use the zeros function.

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by