Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using MATLAB solve the following: 3.4 Exercise 1. Initialize the random seed with command: >> S= RandStream('mrg32k3a'); 2. Create a random vector u of 1,
Using MATLAB solve the following:
3.4 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 com- mand.) 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 figure window. (Three subplots in total.) 6. Make yourself familiar with the interactive plot editor, accessible from "View - Property Editor" in the figure window menu bar. Give fancy labels to your axes and figures, so that they look scientific enough! 7. Save your figures with ".eps" extension in your folder, and close the figure. 8. Save your workspace to a file called "My Workspace" in your folder using save command. 9. Close the MATLAB, doneStep 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