Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Matlab Here you have to create a histogram of correlations. Write a short script to help you with that. You do not need to
Using Matlab Here you have to create a histogram of correlations. Write a short script to help you with that. You do not need to submit it. Just answer the multiple choice question. Like any script set a variable sz to represent the size of your data (100 or 1000 are good sizes) and a variable iters (10000 to 1000000 are good numbers) to represent the number of times you are going to run the experiment. To visualize your results create a vector cons of size iters to store the correlation you got in each iteration. Create a loop that repeats iters times. In each iteration create two column vectors vi and v2 using randn with size sz. Find the correlation of these two vectors and store it in vector cons How does the histogram of can look like? a. Very random, no pattern discernible b. Flat, uniform, with a slight wiggle C. Roughly bell curve (Gaussian) d. Has two spikes and nothing else I e. Totally flat without any wiggle (Ctrl Using Matlab Here you have to create a histogram of correlations. Write a short script to help you with that. You do not need to submit it. Just answer the multiple choice question. Like any script set a variable sz to represent the size of your data (100 or 1000 are good sizes) and a variable iters (10000 to 1000000 are good numbers) to represent the number of times you are going to run the experiment. To visualize your results create a vector cons of size iters to store the correlation you got in each iteration. Create a loop that repeats iters times. In each iteration create two column vectors vi and v2 using randn with size sz. Find the correlation of these two vectors and store it in vector cons How does the histogram of can look like? a. Very random, no pattern discernible b. Flat, uniform, with a slight wiggle C. Roughly bell curve (Gaussian) d. Has two spikes and nothing else I e. Totally flat without any wiggle (Ctrl
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