random amount of zeros
Show older comments
Hi guys, I want to produce random amount of zeros. How can I do that? tnx,
Answers (1)
dpb
on 1 Nov 2013
zeros(1,randi(IMAX))
where IMAX is a preselected maximum number
1 Comment
mahdi safarzadeh
on 1 Nov 2013
Categories
Find more on Random Number Generation 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!