Question
3.4) Mathlab Exercise 1. Initialize the random seed with command: >> S= RandStream(mrg32k3a); 2. Create a random vector u of 1,000 uniformly distributed numbers. (Tip:
3.4) Mathlab Exercise 1. Initialize the random seed with command: >> S= RandStream(mrg32k3a); 2. Create a random vector u of 1,000 uniformly distributed numbers. (Tip: use the rand command.) 3. Create a random vector n of 1,000 normally distributed numbers. (Tip: use the randn command.) 4. Create a new plot window using the command Figure. 5. Plot the distributions and scatter plot of the elements in u and n in the gure window. (Three subplots in total.) 6. Make yourself familiar with the interactive plot editor, accessible from ViewProperty Editor in the gure window menu bar. Give fancy labels to your axes and gures, so that they look scientic enough! 7. Save your gures with .eps extension in your folder, and close the gure. 8. Save your workspace to a le called My Workspace in your folder using save command. 9. Close the MATLAB , done!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started