Use Matlab to make small statistics demo mpeg
This project received 15 bids from talented freelancers with an average bid price of $162 USD.Get free quotes for a project like this
Overview: Write a small matlab script to generate a short mpg. This is just a 20-second mpg with four frames of content. Very basic matlab. If the results look good I will ask you to bid on a larger job involving many additional images. The description below does not completely specify every parameter (such as size of disks). If you set this up I will provide feedback and ask you to fine-tune parameters.
1. Select numpoints points (xi,yi, for i = 1 to numpoints). (Initialize numpoints=200 to start with). The y values should be drawn from a Gaussian distribution, mean=0.5, standard deviation = 0.2, with y values 1 truncated (delete and resample). So, for all y, 0<y<1. The x values should be drawn from a uniform distribution on Uniform(0,1).
2. Now fill the screen with 200 small white disks ("primary disks"), displaying one disk at each point against a deep blue background. (So if the screen dimensions are 1920 X 1080, if x1=.2 and y1=.5, then you display a white disk centered at pixel values 384,590). This disk should be about 6 pixels in diameter. This display of little disks should remain present for 5 seconds.
3. Now we want to add 200 "secondary disks" (each paired with one of the original disks) by adding a normal (gaussian) noise term on the y axis. Noisechange is selected from randn(mean=0, stdev=.3). So if there is a disk at xi,yi, the new disk should be at xi, yi+noisechange. There should be a small white line connecting the secondary disk with the corresponding primary disk. (The length of the line should equal noisechange.) The secondary disks should be much larger (let's try 18 pixels diameter). Sometimes noisechange will be so large that the secondary disk will not be within the display area--that's OK, just don't display it in that case. This display should remain present for 5 seconds.
5. Now make the secondary disks (but not the primary disks) all change color. Their new values should be on a grayscale from black to white, where the value is proportional to noisechange. So their color changes to reflect the direction and extent of the deviation. If they are light gray or white, that means they are above the primary disk; if they are dark gray or black, that means they are below the primary disk. This should remain present for 10 seconds.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online