• Support PF! Buy your school textbooks, materials and every day products Here!

Basic MATLAB problem

  • Thread starter M11
  • Start date
  • #1
M11
15
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?
 

Answers and Replies

  • #2
MATLABdude
Science Advisor
1,655
4

Related Threads for: Basic MATLAB problem

  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
5
Views
468
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
1
Views
924
Replies
1
Views
5K
Replies
1
Views
4K
Top