matlab1 - BB 228 Matlab Project 1 EE 228—04 j gh‘ The...

Info icon This preview shows page 1. Sign up to view the full content.

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

Unformatted text preview: BB 228 Matlab Project 1 EE 228—04 j gh‘ 2/27/06 The purposes of these team Matlab project assignments are to introduce the student to the use of Matlab, to use Matlab as a tool to learn the theory presented in lecture and to analyze more complicated systems than pencil and paper conveniently allow, and to introduce the student to team project work. The BB 228 class is to form into two or three person teams for the Matlab assignments; teams can be greater than three, but the larger teams will require the prior approval of the instructor. For the submittal of each assignment, each team will submit one report, with each team member providing one thoughtful, reflective paragraph discussing what they have learned. All students are to read the beginning sections of Chapter 21 in their text. Matlab is available on computers in the Digital Senior Project Lab (20—118) which should be open from 8:00am to 6:00pm Monday through Friday, and 9:00am to 1:00pm on Saturday. The BB 368 lab (20-113) also has a copy of Matlab installed on each of its machines. Access to the BB 368 lab will be limited to periods outside scheduled lab times. Request access to the lab at the Senior Project window —~ your name should be on a list from the BB 228 class list. You also are encouraged to purchase the Student Edition of Matlab (around $99 at El Corral). The team members are to learn the use of the Matlab through the online documentation and/or the Matlab supplied tutorial and/or through the use of the text material in Chapter 21. After completing the tutorials, each team is to enter the following Matlab m-file code and execute it. The report is to consist of a commented version of the m-file code, a print out of the magnitude and phase plots, and the individual paragraph from each of the team members discussing what they have learned from the experience. The report is due Friday April 7, 2006.. % script: bode_ex.m % Bode plots are produced by the following code for the transfer 0 O — function: H(S)=(1000(S+O.1))l/(SA2+4S+IOO). w = logspace(-2,3); Hw = (1000*(O.l+j*w))./(lOO—w.*w+j*w*4); Hm = 20*log10(abs(Hw)); Hp = l80/pi)*angle(Hw); 1 _ subplot(2,i,r), semilogx(w,Hm) title(‘magnitude of H') xlaben(‘frequency(rad/s)’) ylabe;(‘magnitude(dB)’) subplot(2,l,2), semilogx(w,Hp) title ‘phase of H’) xlabe;(‘frequency(rad/s)’) ylabel{‘phase(deg)') Please feel free to review the ADSP and GUI capability provided on the disk with your text if you wish (but do not use for this assignment); the two folders may already be installed on the computers in the laboratories. The intent of these Matlab assignments is to introduce students to the use of Matlab as a tool for the future. ...
View Full 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