Class20 - GEEN 1300 Introduction to Engineering Computing...

This preview shows page 1 - 3 out of 9 pages.

1GEEN 1300Introduction to Engineering ComputingClass Meeting #20Monday, Nov. 1stMore on vector/matrix calculationsMatlab’s built-in math functionsArray operations vs matrix operationsEngineering Computingand Problem Solving with Matlab1Array operations vs. matrix operationsHomework #8, due Wednesday, Nov. 10thSection Test 2, today, Nov. 1st, 7-9 p.m. (see next slide)Coverage: Classes 10-18, Labs 6-9, Text chaps 7-14Section Test 2, today, Nov. 1st, 7-9 p.m.Reminder!Coverage: Classes 10-18, Labs 6-9, Text chaps 7-14Room assignments:Sections 101-107MATH 100Sections 109 112DUAN G1B202Sections 109-112DUAN G1B20Bring calculator, two pencils, eraser.
2Using the colon ( : ) operatora = [ 9 5 7 4 1 ]a(2) ?5a(3:5) ?[ 7 4 1 ]a(4:end) ?[ 4 1 ]A = [ 1 2 3 ;4 5 6 ;7 8 8 ; ]A(:,2) ?258     A(3,:) ?[ 7 8 8 ]X = A133X(:,2) = [ ]X?134678Important matrix functionszeros(2) ?0000zeros(3,2) ?0000001300zerossize13X4678size(X) ?[ 3 2 ]zeros(size(X))000000

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture