Presentation is loading. Please wait.

Presentation is loading. Please wait.

MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.1 MATLAB ® opening window.

Similar presentations


Presentation on theme: "MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.1 MATLAB ® opening window."— Presentation transcript:

1 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.1 MATLAB ® opening window. The MATLAB ® environment consists of a number of windows, four of which open in the default view. Others open as needed during a MATLAB ® session.

2 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.2 The Current Folder Window lists all the files in the active directory. You can change the current folder by using the drop-down menu or the browse button.

3 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.3 The Document Window displays the Variable Editor.

4 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.4 MATLAB ® makes it easy to create graphs.

5 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 2.1 Arithmetic Operations Between Two Scalars (Binary Operations)

6 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.5 Finding the surface area of a right circular cylinder involves addition, multiplication, and exponentiation.

7 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.6 Wind tunnels are used to test aircraft designs. (Louis Bencze/Getty Images Inc., Stone Allstock.)

8 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.7 MATLAB ® screen used to solve the ideal gas problem.

9 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.8 Mars Climate Orbiter. (Courtesy of NASA/Jet Propulsion Laboratory.)

10 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.9 The MATLAB ® workspace window shows the variables as they are created.

11 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.10 Drag is a mechanical force generated by a solid object moving through a fluid.

12 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.11 The command history window creates a record of previous commands.

13 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 2.2 Numeric Display Formats

14 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 2.2 (continued) Numeric Display Formats

15 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.12 Double-clicking the file name in the command directory launches the Import Wizard.

16 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.13 The MATLAB ® edit window, also called the editor/debugger.

17 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 2.3 Approaches to Executing a Script M-File from the Command Window

18 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.14 The Voyager 1 and Voyager 2 spacecraft were launched in 1977 and have since left the solar system. (Courtesy of NASA/Jet Propulsion Laboratory.)

19 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.15 The results of an M-file execution are reported in the command window. The variables created are reflected in the workspace and the M-file is listed in the current folder window. The commands issued in the M- file are not mirrored in the command history.

20 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.16 Cell mode allows the user to execute one cell, or section, at a time.

21 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.17 The Navigate drop down menu lists all the cells in the M ‑ file.

22 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.4(a)

23 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.5(a–c)

24 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.6 The geometry of a barbell can be modeled as two spheres and a cylindrical rod.

25 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.8(a)

26 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.8(b)

27 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.8(c)

28 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.9 Series circuit.

29 MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P2.10 Parallel circuit.


Download ppt "MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 2.1 MATLAB ® opening window."

Similar presentations


Ads by Google