MATLAB: a matrix calculator Cleve Moler left at universities became a company with 3,000 employees

Illustrative photo: Mathematician Cleve Moler created MATLAB in 1979 as a simple calculator.

In February 1979, at the Naval Postgraduate School in California, mathematician and computer programmer Cleve Moler sat down in front of a room of strangers and showed them a program nobody outside his circle had ever seen. He typed in a matrix, a grid of numbers, and the machine sent back an answer. Then he did it again. The software was being disclosed to the public for the first time.

Visitors hoping for more would have found little to see. The program was a simple interactive matrix calculator, "not a programming language," with no programs to save, no toolboxes and no graphics. Everything it could do came from 71 pre-built functions. Moler had no slide of the future to show and no promise of a product.

A professor who refused to teach Fortran first

Moler's students at the University of New Mexico had a problem, and he was partly to blame for it. In the mid to late 1970s he was one of the authors of LINPACK and EISPACK, two libraries of Fortran code for numerical computing. The libraries were built to solve the hardest everyday problems of matrix math, and Moler wanted his students to use them.

Fortran stood in the way. To reach the libraries, a student first had to write Fortran, and a classroom that meets for a semester cannot spend its first weeks on the grammar of a programming language. Moler was then chairman of the computer science department, and he was also a math professor. He decided the students needed a quicker route, so he started building one as a hobby.

He did not start from nothing. The idea rested on his PhD thesis from the 1960s. The programming underneath was older still. In 1967 he had worked out the first linear algebra routines with George Forsythe, his one-time thesis advisor. Fortran code for solving linear equations followed in 1971.

What he built on that foundation was a plain matrix calculator. A student could type in a matrix and get an answer back, with no Fortran program in between. The students used it, and for a while that seemed like enough.

But a calculator that lives in one classroom dies there. Students graduate, a hobby loses its place in a professor's week, and a program with no audience beyond one department has no reason to be copied.

Copies left behind on every campus

Moler had a simple answer to the problem of the single classroom: he refused to take the calculator home with him. Whenever he visited a university, he left a copy behind, and then he moved on to the next campus and did it again.

The copies took root in math departments, where the software developed a strong following. The people who picked it up were mostly people who already loved matrices. They needed no convincing that a grid of numbers deserved its own calculator.

One copy reached Stanford, and there a graduate student in electrical engineering named Jack Little came across MATLAB. Little was not a mathematician by training. He was an engineer, which made him exactly the kind of reader the math departments had not yet produced.

Stanford turned out to be a better launching pad than anyone planned. Students there used MATLAB in their studies, and when they graduated they took it with them into private companies. Many of the toolboxes that later defined the software, collections of specialized functions built for one field of work, arose because Stanford students carried a classroom habit into industry.

Still, the program Little met was a guest on someone else's machine, a calculator built for the mainframe computers of the day.

Two colleagues rewrite it in C

Jack Little and Steve Bangert worked together at an engineering firm, and both could see what was happening around them. IBM desktop computers were arriving to replace the mainframes, and the machines that had hosted MATLAB for a decade were starting to look like the past. Little had met Cleve Moler's calculator at Stanford. Now he wanted it on the machines engineers were about to have on their own desks.

Moler wanted the same thing. He and Little decided to reprogram MATLAB in C and market it for the new desktops. The decision carried a cost, because the Fortran code Moler had written was made for the mainframe world and could not move into the new one. A tool that had been handed out free to people who loved matrices would have to be rebuilt from the ground up, and then sold.

Little and Bangert did the rebuilding. Little was the engineer and Bangert the programmer, and together they re-programmed MATLAB in C. Along the way they gave it something Moler's bare calculator had never had: a programming language of its own, the MATLAB language. A user could now write out a sequence of steps instead of typing one command at a time.

They also began building features for toolboxes, the collections of specialized functions that would later define the software. Each one would let an engineer in a given field reach for ready-made tools instead of assembling them from scratch.

Someone had to answer the mail, copy the disks and take the money.

Las Vegas, baggies and a house in Portola Valley

In 1984, Cleve Moler, Jack Little and Steve Bangert put a name on what they were doing and called it MathWorks. The C version of MATLAB needed a company around it, and Moler had spent years giving his calculator away without ever asking anyone for money.

Cleve Moler was a co-founder, Jack Little ran it from his house and Steve Bangert was the programmer.

The first public test came the same year in Las Vegas, at the Automatic Control Conference. There MATLAB went on sale as a commercial product for the first time, a program that had begun as a classroom aid now offered to strangers with a price attached. In Las Vegas the people who stopped to look were potential customers.

Behind the conference table, the company had less substance than the product. MathWorks had no office, no staff and no customers. It had Little, who ran it from his house in Portola Valley, California.

When an order did arrive, Little filled it by hand. He copied MATLAB onto diskettes, slid each one into a plastic baggie, and mailed it to one of the first customers. No box, no printed shelf label and no warehouse stood between the software and the buyer, only a bag and a stamp.

Would anyone?

Ten copies for five hundred dollars

A buyer would be taking a chance on both.

The buyer came the following year, from Cambridge, Massachusetts. Nick Trefethen of MIT ordered ten copies. In February 1985 the first order went out for $500, and the company's first customer proved to be one of the best-known engineering schools in the country.

Little no longer had a product waiting for someone to pay. He had a paying customer, and a name that other professors would recognize.

Other universities followed. MATLAB went back to where Moler had first used it, into departments where students needed to work with matrices without writing Fortran. By the end of the decade, several hundred copies had been sold to universities for student use. The calculator that Moler had once left behind on campuses for free was now bought by them.

A company that sells to universities soon needs more than one man who copies disks and answers the mail. After moving to Massachusetts, Little hired Jeanne O'Keefe, an experienced computer executive, to help formalize the business. She was the first sign that MathWorks meant to grow beyond Little's house.

Yet the company still lacked its other founder. Moler, the man who had built the calculator, remained a professor with a career of his own, and for him MATLAB was still something of a hobby. Would he give up that life to join the company full-time?

The professor comes home to the company

Moler left Intel Hypercube in 1989. There he had coined the term "embarrassingly parallel," and the phrase stayed behind when he walked away from a career built on other people's machines. He joined MathWorks full-time, and the following year he became chairman and chief scientist. The professor had come home to a company that already existed, with a house in Portola Valley behind it and a product that had outgrown the classroom.

What carried the company was not only the calculator. MATLAB spread largely through toolboxes, add-on collections written by experts in their own fields, each of whom taught the program a new skill. Version 3 had appeared in 1987, and in the years that followed Stephen C. Johnson developed the first MATLAB compiler. The company still had to prove itself, one engineer and one department at a time. By 1997 it was profitable, with about 380 employees. Two decades on, around 3,000 people worked for it in Natick.

That was all he had shown the strangers in California, and now more than four million users repeat it in industry, government and universities. The company's logo carries a piece of him as well, the first vibrational mode of a thin L-shaped membrane, the subject of his thesis. Moler died on May 20, 2026, at his home in Saint Michaels, Maryland. Somewhere a student typed a matrix into the window, pressed Enter, and watched the answer come back.

Cover: Wcam · CC BY-SA 4.0 · Wikimedia Commons. Layout and headline text by Signal Titans. Logo: MathWorks, via Wikimedia Commons (Public domain).

Source: MATLAB’s Genesis: Cleve Moler’s 1979 Classroom Demo That Turned Into a Multi‑Billion‑Dollar Platform · Cleve Moler (Wikipedia) · MathWorks (Wikipedia) · Accelerating the pace of engineering | MIT News | Massachusetts Institute of Technology · Add-On Product Requirements & Platform Availability for R2016b · Support Package Installation – MATLAB & Simulink · RunMat: Fast Math, Simulation, CAD and PCB Design · History / Scilab / Home – Scilab · JMI – Java-to-Matlab Interface | Undocumented Matlab · Justice Department Reaches Settlement with The MathWorks Inc. · SIAM: Cleve Moler Elected Next SIAM President

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *