Muutke küpsiste eelistusi

Elements of MATLAB Style [Pehme köide]

  • Formaat: Paperback / softback, 180 pages, kõrgus x laius x paksus: 203x127x13 mm, kaal: 150 g, Worked examples or Exercises
  • Ilmumisaeg: 31-Dec-2010
  • Kirjastus: Cambridge University Press
  • ISBN-10: 0521732581
  • ISBN-13: 9780521732581
  • Formaat: Paperback / softback, 180 pages, kõrgus x laius x paksus: 203x127x13 mm, kaal: 150 g, Worked examples or Exercises
  • Ilmumisaeg: 31-Dec-2010
  • Kirjastus: Cambridge University Press
  • ISBN-10: 0521732581
  • ISBN-13: 9780521732581
The Elements of MATLAB Style is a guide for both new and experienced MATLAB programmers. It provides a comprehensive collection of standards and guidelines for creating solid MATLAB code that will be easy to understand, enhance, and maintain. It is written for both individuals and those working in teams in which consistency is critical. This is the only book devoted to MATLAB style and best programming practices, focusing on how MATLAB code can be written in order to maximize its effectiveness. Just as Strunk and White's The Elements of Style provides rules for writing in the English language, this book provides conventions for formatting, naming, documentation, programming and testing. It includes many concise examples of correct and incorrect usage, as well as coverage of the latest language features. The author also provides recommendations on use of the integrated development environment features that help produce better, more consistent software.

Arvustused

"Congratulations to Richard for writing "The Elements of MATLAB Style." It's a book that I recommend you read. I encourage you to adapt the guidelines in a way suitable for your programming environment. Loren Shure, MATLAB Blogger & Principal Developer at MathWorks "... The enormous community of MATLAB users will really enhance their effectiveness as programmers by following this books clear and sensible advice. The book offers five main categories of style and convention: formatting, naming, documentation, programming, and testing. J. C. Butcher, Computing Reviews "This is the book I wish I would have had as I was defining my coding style in MATLAB. Elements of MATLAB style helps you make decisions about how your code should look, what variable names to use, etc. It defines a system for making lots of little decisions so your code will be a coherent whole." Doug Hull, MATLAB Blogger & Application Engineer at MathWorks

Muu info

A guide for MATLAB programmers that offers a collection of standards and guidelines for creating MATLAB code that will be easy to understand.
Preface ix
Introduction 1(3)
1 General Principles
4(3)
2 Formatting
7(11)
Layout
7(5)
White Space
12(3)
Code Blocks
15(2)
Formatting Summary
17(1)
3 Naming
18(31)
General
19(5)
Variables and Parameters
24(9)
Constants
33(2)
Structures and Cell Arrays
35(2)
Functions
37(5)
Classes
42(3)
Data Files and Directories
45(3)
Naming Summary
48(1)
4 Documentation
49(22)
General
49(2)
Comments
51(18)
Header Comments
58(8)
Block Comments
66(3)
Interspersed or Inline Comments
69(1)
Documentation Summary
69(2)
5 Programming
71(67)
General
71(2)
Variables and Constants
73(8)
Character Strings
81(2)
Structures
83(2)
Cell Arrays
85(2)
Expressions
87(3)
Statements
90(1)
Loops
91(5)
Conditionals
96(7)
Logical Functions
103(1)
Vectorization
104(1)
Functions
105(11)
Input and Output
116(3)
Classes and Objects
119(9)
Exceptions, Errors, and Warnings
128(3)
Output Style
131(1)
Tests
131(4)
Data Files
135(1)
Programming Summary
136(2)
6 Files and Organization
138(6)
Toolboxes
138(2)
Project Files
140(2)
Organization Summary
142(2)
7 Development
144(11)
Design
145(2)
Development Practices
147(2)
MATLAB IDE Tools
149(3)
Development Summary
152(3)
Keywords 155(2)
Is function list 157(2)
Glossary 159(6)
Bibliography 165(2)
Index 167
Richard K. Johnson has taught dozens of MATLAB courses for universities, companies and the federal government. He is the author of MATLAB Programming Style Guidelines and the developer of the Data Visualization Toolbox for MATLAB. He has a Ph.D. in engineering science from the University of California, San Diego, and is a former professor at Oregon State University.