Matlab assignment1 -dsingh - Singh Daljit ECE 315 Matlab#1...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Singh, Daljit ECE 315 Matlab #1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1 2 0 10 20 30 40 Head --------------------------------- Tail Fair Coin 1 2 0 10 20 30 40 Head --------------------------------- Tail I thought the coin is fair simply because the chances were either one or the other. It showed pretty much when I pressed the fair coin button. When I tried n=50 and n=100.
Image of page 2
1 2 0 10 20 30 40 50 Head --------------------------------- Tail 1 2 3 4 5 6 0 2 4 6 8 10 number of spots The reason why I think it’s fair is because I got closer to the 50% mark as n increased and actually achieved it when getting to n=100. Fair Die
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1 2 3 4 5 6 0 5 10 15 number of spots 1 2 3 4 5 6 0 500 1000 1500 2000 number of spots I think it’s pretty much fair because I was never able to get the same results. N=60
Image of page 4
0 1 2 3 4 5 6 0 5 10 15 20 Value of the RV What I did notice was that as I did increase the “n” value, the probability started to show of each side of the die getting closer to 1/6 chance. Independence 2 3 4 5 6 7 8 9 10 11 12 0 2 4 6 8 number of spots The plot in theory should look like a pyramid with 7 coming up the most with 2 and 12 coming up the least. What I noticed was that with the ideal versus actual graphs that I got,
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern