How to plot scatter and histogram graphs of random data in MATLAB

  • Thread starter M11
  • Start date
  • Tags Tags
    Matlab
1 reply · 2K views · last reply
M11
Messages
14
Reaction score
0
hi,

Homework Statement



I am asked to generate 1000 normally distributed random numbers and then plot the scatter and histogram graphs of the data.



The Attempt at a Solution




I used : randn(1000) and it generated the random number, now how can I plot the graphs?

from where can I get the other variable?