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

1 view (last 30 days)
matrix flag 1*65536

Accepted Answer

Vishnu Vardhan
Vishnu Vardhan on 21 Jun 2019
Edited: madhan ravi on 21 Jun 2019
flag = zeros(1,65536);

More Answers (2)

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

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

Categories

Find more on Data Export to MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!