Appendix D

Solutions to Selected Exercises

Chapter 1

1.1 image

Chapter 2

2.1 

(a) comma should be replaced by decimal point

(e) asterisk should be omitted

(f) exponent must be integer

(h) comma should be replaced by decimal point

2.2 

(b) decimal point not allowed

(c) first character must be a letter

(d) quotes not allowed

(h) blanks not allowed

(i) allowed but not recommended!

(k) asterisk not allowed

(l) allowed but not recommended!

.

2.3 image

2.4 image

Get Essential MATLAB for Engineers and Scientists, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.