Recitation 03 Problems

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

Info iconThis 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 3- 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) Create a row vector containing the even numbers 2 through 18, a column vector containing 1,5,9,…,25,29, and a 3*3 matrix A. Then, transpose A and save that as B . Finally, calculate the element by element (dot) multiplication of A and B . 2) Given the arrays x = [1 4 8], y = [2 1 5] and A = [3 1 6 ; 5 2 7], determine which of the following statements will correctly execute and provide the result. If the command will not correctly execute, state why it will not. a. x + y b. x + A c. x' + y d. A - [x' y'] e. [x ; y'] f. [x ; y] g. A – 3 3) . If A = [1 2; 3 4]; Predict the values of B = A.^2 and C = 2.^A on paper and verify using matlab 4) Create two 4 x 4 matrices A and B and calculate the following values. (You should store each of them in a variable with some name of your choosing.) In theory, which of the following matrices do you expect to be equal? Which ones actually are equal? Check your answers with Matlab. A*B B*A A + B B + A 5) Given the matrix, A = [ 3 7 -4 16; -5 9 10 2; 6 13 8 11; 15 5 4 1]. a. Find the maximum and minimum values in each column;
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/11/2010 for the course 440 127 taught by Professor Blase during the Fall '09 term at Rutgers.

Page1 / 4

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online