<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: MATLAB Language Translator</title>
	<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/</link>
	<description>Loren Shure  works on design of the MATLAB language at &#60;a href="http://www.mathworks.com/"&#62;The MathWorks&#60;/a&#62;. She writes here about once a week on MATLAB programming and related topics. &#60;br&#62;&#60;br&#62;&#60;a href="/images/loren-full.jpg"&#62;&#60;img src="/images/loren.jpg"&#62;&#60;/a&#62;</description>
	<pubDate>Sun, 22 Nov 2009 23:20:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Tom Clark</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30412</link>
		<dc:creator>Tom Clark</dc:creator>
		<pubDate>Wed, 24 Jun 2009 22:44:21 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30412</guid>
		<description>Funnily enough, I actually have a script,

&lt;pre&gt;
do_phd()
&lt;/pre&gt;

which regenerates my entire PhD work so far...</description>
		<content:encoded><![CDATA[<p>Funnily enough, I actually have a script,</p>
<pre>
do_phd()
</pre>
<p>which regenerates my entire PhD work so far&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30389</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Tue, 16 Jun 2009 16:06:48 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30389</guid>
		<description>Scott-

This post, from April 1, was mostly in jest.  MATLAB doesn't have translation tools for natural languages.  We do have ways to convert your MATLAB code into stand-alone executables, and Simulink has some tools for generating code suitable for embedded systems and real-time systems that you might check out.  You also might check the file exchange to see if there are any UML tools.

--Loren</description>
		<content:encoded><![CDATA[<p>Scott-</p>
<p>This post, from April 1, was mostly in jest.  MATLAB doesn&#8217;t have translation tools for natural languages.  We do have ways to convert your MATLAB code into stand-alone executables, and Simulink has some tools for generating code suitable for embedded systems and real-time systems that you might check out.  You also might check the file exchange to see if there are any UML tools.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Cinnamond</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30388</link>
		<dc:creator>Scott Cinnamond</dc:creator>
		<pubDate>Tue, 16 Jun 2009 15:38:04 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-30388</guid>
		<description>Loren; I'm interested in translating natural language (system) requirements into some formal language. If the MATLAB translator could "convert" requirements into MATLAB, are there other tools conversion/code-generation tools available to move portions of that output to, say UML?</description>
		<content:encoded><![CDATA[<p>Loren; I&#8217;m interested in translating natural language (system) requirements into some formal language. If the MATLAB translator could &#8220;convert&#8221; requirements into MATLAB, are there other tools conversion/code-generation tools available to move portions of that output to, say UML?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28192</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Mon, 07 Apr 2008 15:43:08 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28192</guid>
		<description>Tim-

You have outdone yourself!  These are some real gems (and maybe complex too?).

--Loren</description>
		<content:encoded><![CDATA[<p>Tim-</p>
<p>You have outdone yourself!  These are some real gems (and maybe complex too?).</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28190</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:41:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28190</guid>
		<description>&lt;pre&gt;
function post = Loren (blog)
% LOREN(blog) : a Schur e-composition at blogs.mathworks.com/loren
%
% The Schur e-composition is followed by a depth-first
% post-ordering of the sparse elimination tree of the
% Companion form of the blog.  For very complex topics,
% the blog is then post-processed with CSF2RSF to convert
% the blog to real form, for easier reader digestion and
% rank-extraction.  Information transferral, from source
% to reader, is accomplished via the companion matrix of
% the sum of two matrices, compan(U+L&#124;n).
%
% Can be followed by Schur_update (blog, line, string) :
% a low-rank update/downdate, which modifies one or more
% rows of a Schur e-composition.  This is useful for
% post error elimination and spurious comments.
%
% See also cholupdate, rsf2csf, csf2rsf, schur, etree, schur_update, compan

[U,L] = schur (blog) ;
n = length (blog) ;
[parent, post] = etree (compan (U + L&#124;n)) ;
if (n &#62; 1000)
   post = csf2rsf (blog (post)) ;
end
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
function post = Loren (blog)
% LOREN(blog) : a Schur e-composition at blogs.mathworks.com/loren
%
% The Schur e-composition is followed by a depth-first
% post-ordering of the sparse elimination tree of the
% Companion form of the blog.  For very complex topics,
% the blog is then post-processed with CSF2RSF to convert
% the blog to real form, for easier reader digestion and
% rank-extraction.  Information transferral, from source
% to reader, is accomplished via the companion matrix of
% the sum of two matrices, compan(U+L|n).
%
% Can be followed by Schur_update (blog, line, string) :
% a low-rank update/downdate, which modifies one or more
% rows of a Schur e-composition.  This is useful for
% post error elimination and spurious comments.
%
% See also cholupdate, rsf2csf, csf2rsf, schur, etree, schur_update, compan

[U,L] = schur (blog) ;
n = length (blog) ;
[parent, post] = etree (compan (U + L|n)) ;
if (n &gt; 1000)
   post = csf2rsf (blog (post)) ;
end
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28175</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Sun, 06 Apr 2008 10:45:30 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28175</guid>
		<description>I'm not making this up:

Matlab is a word in Urdu that means "Aim, Desire, Meaning, Motive, Object, Wish".  A similar word "matloobah," means "requisite".  When you lack MATLAB, you have Matli, or "Malaise, Queasiness, Qualm", and your efforts and skills are Matrookah (that is, "obsolete").

http://www.geocities.com/urdudict/m/mat.htm

... but I *am* making this up, just this morning:

&lt;pre&gt;
Ah, MATLAB, matloobah matlab!
Your codes in M I gotta have.
I code in C sometimes for speed,
but mostly all it's M I need.
Lacking MATLAB, matrookah matli:
there's naught to do but code in C.
&lt;/pre&gt;

How's that for a quadlingual poem (MATLAB, English, Urdu, and C)?  ;-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not making this up:</p>
<p>Matlab is a word in Urdu that means &#8220;Aim, Desire, Meaning, Motive, Object, Wish&#8221;.  A similar word &#8220;matloobah,&#8221; means &#8220;requisite&#8221;.  When you lack MATLAB, you have Matli, or &#8220;Malaise, Queasiness, Qualm&#8221;, and your efforts and skills are Matrookah (that is, &#8220;obsolete&#8221;).</p>
<p><a href="http://www.geocities.com/urdudict/m/mat.htm" rel="nofollow">http://www.geocities.com/urdudict/m/mat.htm</a></p>
<p>&#8230; but I *am* making this up, just this morning:</p>
<pre>
Ah, MATLAB, matloobah matlab!
Your codes in M I gotta have.
I code in C sometimes for speed,
but mostly all it's M I need.
Lacking MATLAB, matrookah matli:
there's naught to do but code in C.
</pre>
<p>How&#8217;s that for a quadlingual poem (MATLAB, English, Urdu, and C)?  ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28147</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Fri, 04 Apr 2008 10:53:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28147</guid>
		<description>The URL name, above, comes from UK postal regulations.  I'm not making this up:  it is illegal to mail "horror comics and matrices" to the UK.  So what is a "horror matrix"?  A very ill-conditioned one, perhaps?  Here's my definition, aka the Jabberwok, with lots of MATLAB puns:

&lt;pre&gt;
Twas fill-in, and the slow transpose
Did dir'ect factor in archive
All tipsy were the banded 'ones
And memory paths outgave.

"Beware the 'OrrorMat, my son!
The cols that peak, the try's that catch!
Beware the Netlib blurb, and shun
the fractal banded mats!"

He took his direct slash in hand:
Long time the max cond foe he sought ---
So rested he by the elim' tree
And stood while(1) in thought.

And as in out-core work he stood,
The 'OrrorMat, with speyes of NaN,
Came loading through the world-wide web
And core dumped as it ran!

For one! to n! and 'til the end
The direct slash went snicker-snack!
He left it tril, and with diag
He went condesting back.

"And hast thou slain the 'OrrorMat?
Gzip to tars, my direct code!
O factorize day! tril(U)! tril(A)!"
He posted in his ode.

`Twas fill-in, and the slow transpose
Did dir'ect factor in archive
All tipsy were the banded 'ones
And memory paths outgave. 
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>The URL name, above, comes from UK postal regulations.  I&#8217;m not making this up:  it is illegal to mail &#8220;horror comics and matrices&#8221; to the UK.  So what is a &#8220;horror matrix&#8221;?  A very ill-conditioned one, perhaps?  Here&#8217;s my definition, aka the Jabberwok, with lots of MATLAB puns:</p>
<pre>
Twas fill-in, and the slow transpose
Did dir'ect factor in archive
All tipsy were the banded 'ones
And memory paths outgave.

"Beware the 'OrrorMat, my son!
The cols that peak, the try's that catch!
Beware the Netlib blurb, and shun
the fractal banded mats!"

He took his direct slash in hand:
Long time the max cond foe he sought ---
So rested he by the elim' tree
And stood while(1) in thought.

And as in out-core work he stood,
The 'OrrorMat, with speyes of NaN,
Came loading through the world-wide web
And core dumped as it ran!

For one! to n! and 'til the end
The direct slash went snicker-snack!
He left it tril, and with diag
He went condesting back.

"And hast thou slain the 'OrrorMat?
Gzip to tars, my direct code!
O factorize day! tril(U)! tril(A)!"
He posted in his ode.

`Twas fill-in, and the slow transpose
Did dir'ect factor in archive
All tipsy were the banded 'ones
And memory paths outgave.
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob M.</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28116</link>
		<dc:creator>Bob M.</dc:creator>
		<pubDate>Wed, 02 Apr 2008 23:13:01 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28116</guid>
		<description>Related to the reference to mindread.m:  Interlisp had the DWIM function which could be applied when the debugger identified a problem.  The function name was an acronym for "Do What I Mean."  It would make repairs based on a database of common errors in Lisp.  The interrupted computation would then proceed.</description>
		<content:encoded><![CDATA[<p>Related to the reference to mindread.m:  Interlisp had the DWIM function which could be applied when the debugger identified a problem.  The function name was an acronym for &#8220;Do What I Mean.&#8221;  It would make repairs based on a database of common errors in Lisp.  The interrupted computation would then proceed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28108</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Wed, 02 Apr 2008 19:51:18 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28108</guid>
		<description>MATLAB poetry?  You realize it's very dangerous thing to ask me for poetry .... :-)  Here's a recent MATLAB Haiku, although it says more about C than MATLAB:

Land-lubbers set sail,
C coding in mexFunction :
MATLUBbers at C.

You can find more of the same at
http://www.cise.ufl.edu/~davis/Horror_matrices.html

In one recent one, for Gene Golub, I "translated" Kubla Khan into "Golub,Gene" in which

A damsel with a dulcimer
In a vision once I saw:
It was an Abyssinian maid,
And on her dulcimer she played,
Singing of Mount Abora. 

becomes

A damsel with a dual chip core
In a vision once I saw:
It was by math'matician made,
And on her dual chip core she played,
Singing of MATLAB aura.</description>
		<content:encoded><![CDATA[<p>MATLAB poetry?  You realize it&#8217;s very dangerous thing to ask me for poetry &#8230;. :-)  Here&#8217;s a recent MATLAB Haiku, although it says more about C than MATLAB:</p>
<p>Land-lubbers set sail,<br />
C coding in mexFunction :<br />
MATLUBbers at C.</p>
<p>You can find more of the same at<br />
<a href="http://www.cise.ufl.edu/~davis/Horror_matrices.html" rel="nofollow">http://www.cise.ufl.edu/~davis/Horror_matrices.html</a></p>
<p>In one recent one, for Gene Golub, I &#8220;translated&#8221; Kubla Khan into &#8220;Golub,Gene&#8221; in which</p>
<p>A damsel with a dulcimer<br />
In a vision once I saw:<br />
It was an Abyssinian maid,<br />
And on her dulcimer she played,<br />
Singing of Mount Abora. </p>
<p>becomes</p>
<p>A damsel with a dual chip core<br />
In a vision once I saw:<br />
It was by math&#8217;matician made,<br />
And on her dual chip core she played,<br />
Singing of MATLAB aura.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28107</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Wed, 02 Apr 2008 19:44:37 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2008/04/01/matlab-language-translator/#comment-28107</guid>
		<description>MATLAB is far better than those silly ads you see on web pages.  It can do the following, all by itself:

&lt;pre&gt;
find (triu (lu (ver)), 'first') ;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>MATLAB is far better than those silly ads you see on web pages.  It can do the following, all by itself:</p>
<pre>
find (triu (lu (ver)), 'first') ;
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
