MATLAB Cody - MATLAB Central

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

Difficulty:Rate

Solution 4432447

Submitted on 24 Dec 2020 by Farhan Gony
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