ITEC 2600 Study Guide - Quiz Guide: Row And Column Vectors, Matlab, Exclusive Or

77 views3 pages

Document Summary

Lab exercise 1: explain what the following matlab commands produce, then excute the following expressions in. 10 > 5 + 2 (10 > 5) + 2. "c"== "d"- 1 || 2 > 4 xor("c"== "d"- 1, 2 > 4) xor("c"== "d"- 1, 2 < 4) 10 > 5 > 2: create a row vector vec start from -10 to 10, by incremental 5, using colon operator. York university (c) create a column vector col vec from vec. (d) calculate (vec 3. 5)2 3 and assign it to a variable v. (e) you type the following vec+v vec*v vec. *col vec in matlab command window, what are the outputs: create two matrices below: Then do the followings: (a) assign the rst row of a to a vector v1 (b) assign the rst row to third row of second column of b to a vector v2 (c) you type the followings.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents