Path: news.mathworks.com!not-for-mail
From: "Tim Davis" <davis@cise.ufl.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Proposed extensions to the doc command
Date: Thu, 15 Nov 2007 10:20:59 +0000 (UTC)
Organization: University of Florida
Lines: 47
Message-ID: <fhh6ib$lkk$1@fred.mathworks.com>
Reply-To: "Tim Davis" <davis@cise.ufl.edu>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1195122059 22164 172.30.248.35 (15 Nov 2007 10:20:59 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 15 Nov 2007 10:20:59 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 45902
Xref: news.mathworks.com comp.soft-sys.matlab:437653



The doc command is an extremely useful feature in MATLAB.
However, like all software, this too could use some
improvements.  Here are some proposed extensions to the
"doc" command.

>> doc doc
A paradox

>> doc who
Into the Tardis, Romana, the Daleks are coming!

>> doc what
What's up doc?

>> doc holiday
The MATLAB documentation is not available at this time.
We apologize for the inconvenience.  Please call back
during normal business hours.  If you wish to leave a
message, please call 1-800-OK-CORRAL, and leave a message
after the sound of gunfire.

>> doc trek
He's dead, Jim.

>> doc svd
Gene Golub

>> doc student
Your MATLAB homework assignment is late!

>> doc suess
I can happily tell you that matrices sparse,
can be found in the mane of a tall purple horse.
For matrices morally triangular too,
you need only to look to the outputs of Lu.

>> doc bar
Click on the dock arrow button to order a gin and tonic.

>> doc undock
Your PhD thesis was plagiarized, and your doc is thus rescinded.

Signed,
>> doc sparse
()'*eye(m)\()