Table 3-1 in MATLAB for Dummies

A reader wrote a short while ago about a potential error in Table 3-1 on page 51 of MATLAB for Dummies. Errors do creep into books during the writing process and, despite my best efforts, no one spots them until after the book appears in print. In fact, I cover this very issue in Errors in Writing. If you ever find an error in your copy of a book, I’ll do my best to verify it and then post my findings there. The updated Table 3-1 should look like this:

Table 3-1: Relational Operators

Meaning Operator Example
Less than A < B A=2;
B=3;
A<B
ans = 1
Less than or equal to A <= B A=2;
B=3;
A<=B
ans = 1
Equal A == B A=2;
B=3;
A==B
ans = 0
Greater than or equal to A >= B A=2;
B=3;
A>=B
ans = 0
Greater than A > B A=2;
B=3;
A>B
ans = 0
Not equal A ~= B A=2;
B=3;
A~=B
ans = 1

 

The area of interest is the Example column. The updated information will demonstrate the use of MATLAB in figuring out the relationships between expressions. Please let me know if you find any other errors in this book by contacting me at John@JohnMuellerBooks.com.

 

Author: John

John Mueller is a freelance author and technical editor. He has writing in his blood, having produced 99 books and over 600 articles to date. The topics range from networking to artificial intelligence and from database management to heads-down programming. Some of his current books include a Web security book, discussions of how to manage big data using data science, a Windows command -line reference, and a book that shows how to build your own custom PC. His technical editing skills have helped over more than 67 authors refine the content of their manuscripts. John has provided technical editing services to both Data Based Advisor and Coast Compute magazines. He has also contributed articles to magazines such as Software Quality Connection, DevSource, InformIT, SQL Server Professional, Visual C++ Developer, Hard Core Visual Basic, asp.netPRO, Software Test and Performance, and Visual Basic Developer. Be sure to read John’s blog at http://blog.johnmuellerbooks.com/. When John isn’t working at the computer, you can find him outside in the garden, cutting wood, or generally enjoying nature. John also likes making wine and knitting. When not occupied with anything else, he makes glycerin soap and candles, which comes in handy for gift baskets. You can reach John on the Internet at John@JohnMuellerBooks.com. John is also setting up a website at http://www.johnmuellerbooks.com/. Feel free to take a look and make suggestions on how he can improve it.