You are on page 1of 3

Name: Ridho Ardhana

Class : PSIK 2020 B


NIM : 4203250034

Syntax

Output
Histogram

Explanation :

This line is to make an Array with Scale 10000x10000 and generate a random numbers with
Interval between 1-100 . the Variable’s name is “Populasi”
unidrnd generates random numbers from the discrete uniform distribution specified by its
maximum value n

This line is to make an Array with Scale 500x500 and Variable’s name is “Sampel”
zeros returns the scalar 0
This Line is to take a random numbers for Sampel from Populasi to Fill the Sampel’s Array

This Line is to Print Output “Data_Sampel” based on Syntax in Variable “Sampel”

This Line is to make the Histogram of Data_Sampel

You might also like