random amount of zeros

Hi guys, I want to produce random amount of zeros. How can I do that? tnx,

Risposte (1)

dpb
dpb il 1 Nov 2013
zeros(1,randi(IMAX))
where IMAX is a preselected maximum number

Categorie

Scopri di più su Interpolation in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by