Download presentation
Presentation is loading. Please wait.
Published byAlisha Colleen Bailey Modified over 9 years ago
1
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.1 The Leaning Tower of Pisa. (Courtesy of Tim Galligan.)
2
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.2 Distance traveled when the acceleration is 1.6 m/s 2. Notice that the figure is a loglog plot.
3
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 7.1 Type Field Format
4
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 7.2 Special Format Commands
5
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.3 The contents of the text box change, depending on the input to the program, and are controlled by the sprintf function.
6
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.4 The ginput function allows the user to pick points off a graph.
7
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.5 M-Files such as this script, which was used to solve homework problems from a previous chapter, can be published using MATLAB ® ’s publish feature.
8
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.6 HTML report created from a MATLAB ® M-file using the Publish feature.
9
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.7 Change the output file format in the edit configuration window to create reports in a number of popular formats, including Word documents and pdf files.
10
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 7.3 Some of the Data File Types Supported by MATLAB ®
11
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.8 The Import Wizard launches when the uiimport command is executed.
12
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.9 The moth found trapped between in a relay in Harvard’s Mark II Aiken Relay Calculator. This is often erroneously reported to be the first use of the term “bug” as a synonym for a computer problem. This page from the computer log book is currently on exhibit in the Smithsonian Institute’s National Museum of American History. (Image courtesy of the Naval Surface Warfare Center, Dalgren, VA, 1988.)
13
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.10 The error bar on the right-hand side of the screen identifies lines of code with potential errors. Locations in the code with potential errors are indicated with a light orange highlight.
14
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.11 M-file with an error on line 13.
15
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.12 MATLAB ® includes code analysis tools that allow for easier debugging.
16
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.13 Breakpoints enable the user to move through the code in small pieces.
17
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 7.14 The step in icon makes it possible to step through user-defined functions one line at a time, as they are called by the main program.
18
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure P7.3 Volume of a cone.
19
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table P7.17 A Comparison of Standard and Hybrid Vehicles
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.