How to make a matrix of zeros and ones with a specific distance between each one?
    4 views (last 30 days)
  
       Show older comments
    
    Oliver Lestrange
 on 3 Aug 2020
  
    
    
    
    
    Commented: Oliver Lestrange
 on 18 Aug 2020
            Hi!
I need to make a matrix of zeros and ones with a specific distance between each one. This distance is an input value, which means that the distance between one's it's variable.
Any suggestion?
Thanks
1 Comment
  James Tursa
      
      
 on 3 Aug 2020
				Too vague.  Please provide some small examples showing input and desired output.
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Numerical Integration and Differential Equations 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!