Skip to content
Open global navigation

Cambridge University Press

AcademicLocation selectorSearch toggleMain navigation toggle

Your Cart


You have 0 items in your cart.

Register Sign in Wishlist

The Elements of MATLAB Style

$20.00 ( ) USD

$20.00 ( ) USD
Adobe eBook Reader

You will be taken to for this purchase
Buy eBook Add to wishlist

Other available formats:

Looking for an examination copy?

If you are interested in the title for your course we can consider offering an examination copy. To register your interest please contact providing details of the course you are teaching.

Product filter button
About the Authors
  • 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.

    • This is the only book dedicated to MATLAB style
    • Ideal for MATLAB developers working in teams or writing to shared standards
    • Perfect for students learning effective coding practices
    Read more

    Reviews & endorsements

    "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 book’s 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

    See more reviews

    Customer reviews

    Not yet reviewed

    Be the first to review

    Review was not posted due to profanity


    , create a review

    (If you're not , sign out)

    Please enter the right captcha value
    Please enter a star rating.
    Your review must be a minimum of 12 words.

    How do you rate this item?


    Product details

    • Date Published: March 2011
    • format: Adobe eBook Reader
    • isbn: 9781139005685
    • availability: Adobe Reader ebooks available from
  • Table of Contents

    1. General principles
    2. Formatting
    3. Naming
    4. Documentation
    5. Programming
    6. Files and organization
    7. Development.

  • Author

    Richard K. Johnson
    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.

Sign In

Please sign in to access your account


Not already registered? Create an account now. ×

Sorry, this resource is locked

Please register or sign in to request access. If you are having problems accessing these resources please email

Register Sign in
Please note that this file is password protected. You will be asked to input your password on the next screen.

» Proceed

You are now leaving the Cambridge University Press website. Your eBook purchase and download will be completed by our partner Please see the permission section of the catalogue page for details of the print & copy limits on our eBooks.

Continue ×

Continue ×

Continue ×

Find content that relates to you

Back to top

Are you sure you want to delete your account?

This cannot be undone.

Cancel Delete

Thank you for your feedback which will help us improve our service.

If you requested a response, we will make sure to get back to you shortly.

Please fill in the required fields in your feedback submission.