MATLAB Cody - MATLAB Central

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

Difficulty:Rate

Solution 452843

Submitted on 10 Jun 2014 by shen
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