MATLAB Cody - MATLAB Central

Problem 45441. Create a vector of n alternating ones and zeros (★★)

Difficulty:Rate

Solution 2467712

Submitted on 4 Jun 2020 by Karl Ezra Pilario
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author52

Community Treasure Hunt

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

Start Hunting!
Go to top of page