Class20 - GEEN 1300 Introduction to Engineering Computing...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 GEEN 1300 Introduction to Engineering Computing Class Meeting #20 Monday, Nov. 1 st More on vector/matrix calculations Matlab’s built-in math functions Array operations vs matrix operations Engineering Computing and Problem Solving with Matlab 1 Array operations vs. matrix operations Homework #8, due Wednesday, Nov. 10 th Section Test 2, today, Nov. 1 st , 7-9 p.m. (see next slide) Coverage: Classes 10-18, Labs 6-9, Text chaps 7-14 Section Test 2, today, Nov. 1 st , 7-9 p.m. Reminder! Coverage: Classes 10-18, Labs 6-9, Text chaps 7-14 Room assignments: Sections 101-107 MATH 100 Sections 109 112 DUAN G1B20 2 Sections 109-112 Bring calculator, two pencils, eraser.
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Using the colon ( : ) operator a = [ 9 5 7 4 1 ] a(2) ? 5 a(3:5) ? [ 7 4 1 ] a(4:end) ? [ 4 1 ] A = [ 1 2 3 ; 4 5 6 ; 7 8 8 ; ] A(:,2) ? 2 5 8           A(3,:) ? [ 7 8 8 ] X = A 3 X(:,2) = [ ] X? 13 46 78  Important matrix functions zeros(2) ? 00 zeros(3,2) ? zeros size X   size(X) ? [ 3 2 ] zeros(size(X)) ones(3) ? 111 eye(2) ? 10 01 ones eye 4 a = [ 9 5 7 4 1 ] length(a) ? 5 length
Background image of page 2
3 Matlab functions Common built-in functions exp(x) sqrt(x) log(x) x e x   ln x
Background image of page 3

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

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

Page1 / 9

Class20 - GEEN 1300 Introduction to Engineering Computing...

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

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