A code function for randperm

Hi, I need to write a code that does the function of randperm using loops and conditional statements. Perms and randsample cannot be used either. I'm new to matlab please help.

1 Comment

But this is obviously homework. You will learn by doing your homework. So make an effort.

Answers (0)

This question is closed.

Asked:

on 22 Apr 2016

Closed:

on 22 Apr 2016

Community Treasure Hunt

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

Start Hunting!