Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-n9wrp Total loading time: 0 Render date: 2024-07-21T19:24:13.603Z Has data issue: false hasContentIssue false

Preface

Published online by Cambridge University Press:  03 May 2011

Get access

Summary

In 2002, I wrote a brief set of observations and thoughts on MATLAB® style for my coworkers. Other programmers found it useful, so I posted the “MATLAB Programming Style Guidelines” document on my website datatool.com. It has since been downloaded more than 40,000 times.

This book responds to that encouraging interest and incorporates what I have learned in the meantime. It joins a well-received series of style books on other languages, including The Elements of Java Style, The Elements of C++ Style, and The Elements of C# Style.

Much of the advice in this book may be familiar. This is deliberate because many of the programming principles described are valid across programming languages. However, the content has been extensively reworked and expanded here to address the unique characteristics of the MATLAB language and development environment environment, as well as the priorities and practices of MATLAB programmers.

Audience

This is a practical manual for the serious user who wants to become more productive. It provides guidance on clear and effective programming, particularly for those who develop with or for others.

This book is written for new MATLAB programmers who want to develop good habits, as well as for experienced MATLAB programmers who want to get better and to understand why others use different style conventions.

This book is not intended to teach you the MATLAB language, but rather it focuses on how MATLAB code can be written in order to maximize its effectiveness.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Preface
  • Richard K. Johnson
  • Book: The Elements of MATLAB Style
  • Online publication: 03 May 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511842290.001
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Preface
  • Richard K. Johnson
  • Book: The Elements of MATLAB Style
  • Online publication: 03 May 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511842290.001
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Preface
  • Richard K. Johnson
  • Book: The Elements of MATLAB Style
  • Online publication: 03 May 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511842290.001
Available formats
×