How to implement this pseudocode as script

 Accepted Answer

Jan
Jan on 7 Mar 2018
Edited: Jan on 7 Mar 2018
n = randi([1, 1e6], 1)
You can find this by your own, if you ask an internet search engine for "Matlab random integer". One of the links is the documentation of randi.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Asked:

on 7 Mar 2018

Edited:

Jan
on 7 Mar 2018

Community Treasure Hunt

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

Start Hunting!