MATLAB Cody - MATLAB Central

Problem 1090. Create a random logical vector of N elements of which M are true.

Difficulty:Rate

Solution 305653

Submitted on 16 Aug 2013 by Peter Wittenberg
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author31

Community Treasure Hunt

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

Start Hunting!
Go to top of page