How to intialize a data store with 100000 zeros?

조회 수: 4 (최근 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 CenterFile Exchange에서 Descriptive Statistics and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by