Download presentation
Presentation is loading. Please wait.
Published byMichael Carson Modified over 8 years ago
1
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.1 MATLAB ® supports a variety of array types.
2
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.2 Many different kinds of data can be stored in MATLAB ®.
3
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.3 MATLAB ® supports multiple data types, all of which are arrays.
4
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.4 Round-off error degrades the harmonic series calculation for single precision faster than for double-precision numbers.
5
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 11.1 MAT LAB ® Integer Types
6
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 11.2 Binary-to-Decimal Conversions
7
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.5 Multidimensional arrays are grouped into pages.
8
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.6 Character and numeric data can be combined in a single array by changing the numeric values to characters with the num2str function.
9
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.7 The cellplot function provides a graphical representation of the structure of a cell array.
10
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.8 Structure arrays can contain many different types of data.
11
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.9 The array editor reports the size of an array in order to save space.
12
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.10 Double-clicking on a component in the array editor allows us to see the data stored in the array.
13
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Table 11.3 Planetary Data
14
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 11.11 The variable editor allows you to view (and change) data in the structure array.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.