Create a new file for each question with the name Final_ Your.docx - Create a new file for each question with the name Final YourFirstName_Q(If your

Create a new file for each question with the name Final_ Your.docx

This preview shows page 1 - 4 out of 9 pages.

Image of page 1
Create a new file for each question with the name Final_ YourFirstName_Q# (If your name is John, the file name is Final_John_Q1. Pay attention to the directions as to which commands to run in the editor window or the command window . Use the Run icon to run commands from the Editor Window. Save a workspace for each question called YourFirstName_q# (for instance, question 1, part c) workspace will be called YourFirstName_q1c). Click on Home tab to save a workspace.
Image of page 2
a) Create a new file for question #1. Run this command in the Matlab EDITOR WINDOW: Q = randi ([1 10],3,5) Copy the result into your answer sheet. 1. b) Create a 4x5 matrix called A that selects random numbers from 0 to 35 using “randi”. Type your command in the EDITOR WINDOW. Save your workspace. Copy the resulting matrix into your answer sheet. 1. c) How many numbers need to be changed in order to have no repetitions? Write it down in the EDITOR WINDOW as a comment. Copy this answer into your answer sheet. d) Using the COMMAND WINDOW, if a number is repeated, change the other number(s) to a unique number that is not shown in the matrix using the same range 0-35. To do
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 9 pages?

  • Fall '16
  • Christopher L. Litten, MA, Ph.D.

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors