How to intialize a data store with 100000 zeros?

2 ビュー (過去 30 日間)
Bala
Bala 2016 年 4 月 26 日
コメント済み: Elias Gule 2016 年 4 月 29 日
How to intialize a data store with 100000 zeros?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 26 日
zeros(1,100000)
  2 件のコメント
Bala
Bala 2016 年 4 月 27 日
Thank you. I thought it won't take statements like this for intialization.
Elias Gule
Elias Gule 2016 年 4 月 29 日
zeros(1,1000000,'double') is faster.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by