MatLab Project # 1 Due IN TUTORIAL Wednesday October 30

Similar documents
Computer Graphics Hands-on

Matrix Transformations The position of the corners of this triangle are described by the vectors: 0 1 ] 0 1 ] Transformation:

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

Number of Regions An Introduction to the TI-Nspire CAS Student Worksheet Created by Melissa Sutherland, State University of New York at Geneseo

Answers to practice questions for Midterm 1

MATRIX REVIEW PROBLEMS: Our matrix test will be on Friday May 23rd. Here are some problems to help you review.

Computer Graphics Hands-on

Grade 6 Math Circles. Shapeshifting

Learning Task: Exploring Reflections and Rotations

How to access other maps when viewing or editing a map

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin

6B Quiz Review Learning Targets ,

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200

For example, the system. 22 may be represented by the augmented matrix

Lab 1 Introduction to MATLAB and Scripts

Using Arrays and Vectors to Make Graphs In Mathcad Charles Nippert

Introduction to creating and working with graphs

Select the Points You ll Use. Tech Assignment: Find a Quadratic Function for College Costs

Honors Advanced Math More on Determinants, Transformations and Systems 14 May 2013

UW Department of Chemistry Lab Lectures Online

GeoGebra. 10 Lessons. maths.com. Gerrit Stols. For more info and downloads go to:

MATLAB for beginners. KiJung Yoon, 1. 1 Center for Learning and Memory, University of Texas at Austin, Austin, TX 78712, USA

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices

Introduction to MATLAB

MATLAB TUTORIAL WORKSHEET

Camera Model and Calibration

Quickstart for Web and Tablet App

Grace days can not be used for this assignment

Classroom Tips and Techniques: Stepwise Solutions in Maple - Part 2 - Linear Algebra

Homework 5: Transformations in geometry

Matlab Tutorial. The value assigned to a variable can be checked by simply typing in the variable name:

Part 3: 2D Transformation

Introduction: Equipment: Getting Started Collecting the data:

Transforming Objects in Inkscape Transform Menu. Move

Name of student. Personal number. Teaching assistant. Optimisation: Stereo correspondences for fundamental matrix estimation.

Course Guide (/8/teachers/teacher_course_guide.html) Print (/8/teachers/print_materials.html) LMS (/8

Module 2 Test Study Guide. Type of Transformation (translation, reflection, rotation, or none-of-theabove). Be as specific as possible.

NENS 230 Assignment 4: Data Visualization

Page 1 of 7 E7 Spring 2009 Midterm I SID: UNIVERSITY OF CALIFORNIA, BERKELEY Department of Civil and Environmental Engineering. Practice Midterm 01

WEEK 4 REVIEW. Graphing Systems of Linear Inequalities (3.1)

A Step-by-step guide to creating a Professional PowerPoint Presentation

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS

300 N All lengths in meters. Step load applied at time 0.0.

CT5510: Computer Graphics. Transformation BOCHANG MOON

Exploration Assignment #1. (Linear Systems)

CS-321 Thursday 12 September 2002 Quiz (3 pts.) What is the purpose of a control grid in a cathode ray tube (CRT)?

Quickstart for Desktop Version

Chapter 2 Systems of Linear Equations and Matrices

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

Name: Date: Multimedia Graphics and Web Publishing Mr. Dietzler. Flash Topics TWEENING AND MOTION GUIDES

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans =

Introduction to Matlab

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3.

Homework 5: Transformations in geometry

Introduction to the TI-83/84 Calculator

Solving Systems Using Row Operations 1 Name

On a coordinate plane, such a change can be described by counting the number of spaces, vertically and horizontally, that the figure has moved.

Perform editing operations such as erase, move, and trim on the objects in a drawing.

Interlude: Solving systems of Equations

Applied Matrix Theory - Math Summer 09 MATLAB Project 3 Created by Prof. Diego Maldonado and Prof. Virginia Naibo

Shape & Space Part C: Transformations

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia

Using Microsoft Word. Working With Objects

Using Charts in a Presentation 6

Mathworks (company that releases Matlab ) documentation website is:

Lesson 1. Unit 2 Practice Problems. Problem 2. Problem 1. Solution 1, 4, 5. Solution. Problem 3

Introduction to Matlab to Accompany Linear Algebra. Douglas Hundley Department of Mathematics and Statistics Whitman College

Technische Universität München Zentrum Mathematik

Computer Vision I Name : CSE 252A, Fall 2012 Student ID : David Kriegman Assignment #1. (Due date: 10/23/2012) x P. = z

WORD Creating Objects: Tables, Charts and More

Introduction to MATLAB

10 Connector Designer

COGS 119/219 MATLAB for Experimental Research. Fall 2017 Cell Arrays Structs

Geometry R. Unit 12 Coordinate Geometry. Day Classwork Day Homework Wednesday 3/7 Thursday 3/8 Friday 3/9

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

Performing Matrix Operations on the TI-83/84

Practical 4: The Integrate & Fire neuron

Matlab and Octave: Quick Introduction and Examples 1 Basics

Representing 2D Transformations as Matrices

ROSE-HULMAN INSTITUTE OF TECHNOLOGY

For more info and downloads go to: Gerrit Stols

Technische Universität München Zentrum Mathematik

Fall 2017: Numerical Methods I Assignment 1 (due Sep. 21, 2017)

PC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens.

Transformations. Write three rules based on what you figured out above: To reflect across the y-axis. (x,y) To reflect across y=x.

Introduction to Matlab

Camera Model and Calibration. Lecture-12

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Table of Contents. Introduction.*.. 7. Part /: Getting Started With MATLAB 5. Chapter 1: Introducing MATLAB and Its Many Uses 7

Microsoft Excel 2007

Computing Fundamentals Plotting

In this problem, we will demonstrate the following topics:

Introduction to MATLAB Fall Bruno Abreu Calfa Department of Chemical Engineering Carnegie Mellon University

Therefore, after becoming familiar with the Matrix Method, you will be able to solve a system of two linear equations in four different ways.

Algebra IA. Unit 1 Connections to Algebra

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

Problem description. Prescribed. force. Unit thickness, plane stress. Transverse direction. Prescribed. displacement. Longitudinal direction

Mathematics 4330/5344 #1 Matlab and Numerical Approximation

Transcription:

Mathematics 110 University of Victoria Fall 2013 MatLab Project # 1 Due IN TUTORIAL Wednesday October 30 Name ID V00 Section A0 Tutorial T0 Instructions: After completing this project, copy and paste your Matlab work into a word processing application (e.g. Microsoft Word), insert your figures/plots in the appropriate places and print out your work. Turn in a printout of your work with this cover page stabled to the front. MATLAB software can be accessed at UVic computing centers, http://www.sfg.uvic.ca/facilities.php To run MATLAB, go to Start / All programs / Matlab. See Demo to get used to the basic coding in Matlab. Matlab is a programming environment built for doing matrix arithmetic. A lot can be learned from trial and error, and experimentation is encouraged. Further, please read the short Matlab introduction kindly provided by Caltech http://web.gps.caltech. edu/classes/ge11d/doc/matlab_resource_seminar.pdf Additional documentation can be found at the Matlab website http://www.mathworks. com/help/techdoc/index.html?/access/helpdesk/help/techdoc/\math/f4-983672. html= See Matrices in the MATLAB Environment and Systems of Linear Equations Quick Tips: You can suppress Matlab output by adding a ; to the end of your Matlab command. (This is useful for Matlab commands executed in loops). You can save plots/figures from the figure s dialog by selecting Save as and then choosing png or jpg in the file-types dropdown. 1

Problem #1: When given as input a matrix A the Matlab command rref produces the Reduced Row Echelon Form of this matrix or augmented matrix. Familiarize yourself with the syntax and the use of rref by handling some easy examples for which you know the answer or can find it by hand. For each of the following augmented matrices, use rref to determine whether the solution of the corresponding system is a point, line, plane, or does not exist. Note, you do not need to write the solution, just whether it is a point, line, plane, etc. 1. [A b]= 1 1 1 0 3 1 0 0 2 4 5 0 2. [A b]= 1 1 1 1 3 1 0 3 2 4 5 2 3. [A b]= 1 1 1 1 3 1 0 4 2 4 5 2 Include: In your printout, include all Matlab input and output involved in this problem. 2

Problem #2: The matrix R = [ 0.999847695 ] 0.017452406 0.017452406 0.999847695 rotates a vectors counter clockwise by 1. That is for a column vector v, Rv is v rotated by 1. For the vector e = [ ] 1 compute the following: 0 e rotated counter clockwise by 2 e rotated counter clockwise by 7 e rotated counter clockwise by 48 Now that you are familiar with rotating things, let s do something more interesting. Construct a 2 360 matrix C whose columns form boundary points of the unit circle. That is C = [v 1 v 2 v 3 v 360 ] where v 1 is e rotated by 1, v 2 is e rotated by 2 and v i is e rotated by i. (Hint: you may want to initialize C to a 2 360 zero matrix with C = zeros(2,360); and then use a for loop to populate the entries of C. Extra information on for loops in Matlab can be found http://www.cyclismo.org/tutorial/ matlab/control.html). Plot your circle by using the first row of C as the x coordinates and the second row of C as the y coordinates. This can be done with the command plot(c(1,:), C(2,:)) Include: In your printout, include all Matlab input and output used to calculate e rotated by 2, 7, 48. Further, include the code used to generate the matrix C and the plot of C. You do not need to include the values of C in your printout. 3

Problem #3: Create a matrix S = [ 0 1 1 0 ] 0 0 0 1 1 0 whose columns form the vertices of the unit square (the 1 1 square with lower-left corner at the origin) listed in counter-clockwise order with the origin listed twice. Plotting with row one of S as the x coordinates and row two of S as the y coordinates will produce a square. Using S and the matrix R from Problem #2, create the matrices X and Y where X s columns are the vertices of the unit square rotated by 33 and Y s columns are the vertices of the unit square rotated by 104. Graph all three squares on the same plot. (You can do this with plot(s(1,:), S(2,:), X(1,:), X(2,:), Y(1,:), Y(2,:))) Include: In your printout, include all Matlab input and output involved in this problem as well as your plot with three squares. 4

Bonus: (Optional and not for marks, but you could put a smile on your markers face). Use your imagination and creativity to come up with a matrix A so that plot(a(1,:), A(2,:)) draws an outline of your choosing. Use Matlab to create a plot of your outline, your outline stretched horizontally by a factor of two and your outline stretched horizontally by a factor of two and then rotated counter clockwise by 45. 5