Question: USE MATHLAB AND ANSWER THEM ALL PLEASE Summer 2016 3. Given the following system of linear equations, use MATLAB to solve it. W steps. [6]

USE MATHLAB AND ANSWER THEM ALL PLEASE  USE MATHLAB AND ANSWER THEM ALL PLEASE Summer 2016 3. Given
the following system of linear equations, use MATLAB to solve it. W
steps. [6] 4. (a) Given a polynomial of 25-3x4 +2-9, evaluate this

Summer 2016 3. Given the following system of linear equations, use MATLAB to solve it. W steps. [6] 4. (a) Given a polynomial of 25-3x4 +2-9, evaluate this polynomial at x-7 using MAT- LAB built-in functions. Write all steps. [3] (b) If x is given as a vector x 123456), how can you evaluate the above polynomial using MATLAB built-in functions? Write all steps. 12) Page 4 of 12 Summer 2016 5. What would happen if you use the name of a built-in function, for example, cos, as a variable name? [4] 6. Use your own words to describe the local variable and global variable, what are the scope of these two types of variables? [6] 7. If you are given a vector vecs(33 7 -9 21 -5 32 72 65 -391 that erroneously stores nega- tive values, how can you eliminate those negative values? Use two methods. [6] Summer 2016 s. Evaluate the following relational and logical expressions as Matlab does. [10] (b) xor('df-2, 25+8 (d) (7=5+2) | 1 (e) 10>5> 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!