A question of randomness

Week of September 28, 2026 225 responses
According to the documentation, p = randperm(n) returns a row vector containing a random permutation of the integers from 1 to n without repeating elements.
You've just installed MATLAB and opened a fresh session. What is the result of
randperm(10)

This quiz has ended. You can still submit an answer to see results.

Note: Answering past quizzes does not count toward your streak.

Sign in to participate
Comments may contain spoilers and are hidden until you participate.
Show comments

Tags

No tags entered yet.