How to intialize a data store with 100000 zeros?

 Accepted Answer

zeros(1,100000)

2 Comments

Thank you. I thought it won't take statements like this for intialization.
zeros(1,1000000,'double') is faster.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 26 Apr 2016

Commented:

on 29 Apr 2016

Community Treasure Hunt

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

Start Hunting!