{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Recitation 05 Problems

Recitation 05 Problems - 14:440:127 Introduction to...

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

View Full Document Right Arrow Icon
14:440:127 Introduction to Computers for Engineers Recitation 5- Problems for students to attempt Please complete these problems on your own time if you do not finish in recitation. You don’t need to show us the completed recitation problems, although we recommending saving a copy of your solutions for your own benefit. 1. The following weight and height data are collected in two arrays. Plot them in an X-Y plot. The line should be in RED. Add axis labels. Weight=[120 120 140 180 200 250 90] Height = [170 169 175 182 180 180 162] 2. Use linspace to generate 100 points from 0 to 2*pi for x, plot the following functions in a) separate figures, b)the same graph, and c) next to each other using subplot 1) y = sin(x) 2) y = cos(x) + sin(x) 3) y = sin(x)cos(x) Title the graph and label the axes 3. A rational function is formed by dividing one polynomial by another. The graphs of rational functions can take a variety of different forms and can be difficult to plot by hand. But with Matlab it’s a piece of cake J. Plot f(x) = (x+2) / (x^2+1) . 4. Plot following two functions on the same plot: x(t) = sin(t+2)*e t y(t) = cos(3t-6)*t^2 Let t=[0:0.01:10].
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
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