Tag Archives: MATLAB

The Strange Case of the Determinant of a Matrix of 1s and -1s

By Nick Higham and Alan Edelman (MIT) In a 2005 talk the second author noted that the MATLAB det function returns an odd integer for a certain 27-by-27 matrix composed of s and s: >> A = edelman; % Set … Continue reading

Posted in research | Tagged , | 2 Comments

What’s New in MATLAB R2017b?

Following my earlier posts What’s New in MATLAB R2016b? and What’s New in MATLAB R2017a? I take a look here at the R2017b release of MATLAB. As before, this is not a comprehensive treatment (for which see the Release Notes), … Continue reading

Posted in software | Tagged | Leave a comment

How Fast is Quadruple Precision Arithmetic?

When I am testing an algorithm running in double precision arithmetic I often want to compare the computed solution with a reference solution: a solution that is fully accurate to double precision. To obtain one I solve the same problem … Continue reading

Posted in software | Tagged | 1 Comment

Elements of MATLAB Style

Style is an important aspect of writing, and also of programming. While MATLAB is a quick and easy language in which to program, style should not be neglected. Good style aids readability, which in turn makes it easier to debug … Continue reading

Posted in software | Tagged | 2 Comments

What’s New in MATLAB R2017a?

MATLAB R2017a was released last week. Many of the changes reported in the release notes are evolutionary, building on and extending major new features introduced previously. For example, the Live Editor continues to gain expanded capabilities. In this post I … Continue reading

Posted in software | Tagged | Leave a comment

Tracing the Early History of MATLAB Through SIAM News

A recent blog post by Ned Gulley points out that the new mathematics gallery (“Mathematics: The Winton Gallery”) at the Science Museum, London, contains a copy of the disk and manual for MATLAB 1.3, from 1985, sitting next to a … Continue reading

Posted in software | Tagged , | Leave a comment

Preparing CMYK Figures for Book Printing

All printing is done in CMYK, the color space based on the four colors cyan, magenta, yellow, and black. Figures that we generate in MATLAB and other systems are invariably saved in RGB format (red, green, blue). When we send … Continue reading

Posted in books | Tagged , | Leave a comment

Good Times in MATLAB: How to Typeset the Multiplication Symbol

The MATLAB output >> A = rand(2); whos Name Size Bytes Class Attributes A 2×2 32 double will be familiar to seasoned users. Consider this, however, from MATLAB R2016b: >> s = string({‘One’,’Two’}) s = 1×2 string array “One” “Two” … Continue reading

Posted in LaTeX, software | Tagged | Leave a comment

MATLAB Guide, Third Edition (2017)

The third edition of MATLAB Guide, which I co-wrote with Des Higham, has just been published by SIAM. It is a major update of the second edition (2005) to reflect the many changes in MATLAB over the last twelve years, … Continue reading

Posted in books | Tagged , | Leave a comment

Hyphenation Question: Row-wise or Rowwise?

Sam Clark of T&T Productions, the copy editor for the third edition of MATLAB Guide (co-authored with Des Higham and to be published by SIAM in December 2016), recently asked whether we would like to change “row-wise” to “rowwise”. A … Continue reading

Posted in writing | Tagged | 1 Comment