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

  • Thread starter Thread starter M11
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
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?
 
Physics news on Phys.org