<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Numbered Argument Specification for Print Functions</title>
	<atom:link href="http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:19:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: amin</title>
		<link>http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-18470</link>
		<dc:creator>amin</dc:creator>
		<pubDate>Sat, 29 Sep 2007 07:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-18470</guid>
		<description>19+7 ~= 29 september
where r u Loren?
% ----------------
u can find several function or operetor who ussed 1st argument.
function myfunc()
fzero(@(y,x) mysubfunc(y,2),2)
fzero(@(y,x) mysubfunc(2,x),2)
function f = mysubfunc(y,x)
f =x+y+1;</description>
		<content:encoded><![CDATA[<p>19+7 ~= 29 september<br />
where r u Loren?<br />
% &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
u can find several function or operetor who ussed 1st argument.<br />
function myfunc()<br />
fzero(@(y,x) mysubfunc(y,2),2)<br />
fzero(@(y,x) mysubfunc(2,x),2)<br />
function f = mysubfunc(y,x)<br />
f =x+y+1;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17867</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Fri, 21 Sep 2007 09:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17867</guid>
		<description>Loren: Oh, I just noticed I got my negations wrong. I think you still understand what I mean, though.</description>
		<content:encoded><![CDATA[<p>Loren: Oh, I just noticed I got my negations wrong. I think you still understand what I mean, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Armyr</title>
		<link>http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17855</link>
		<dc:creator>Daniel Armyr</dc:creator>
		<pubDate>Fri, 21 Sep 2007 06:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17855</guid>
		<description>Raymond: 
It appears that the - has priority over the :. Try (1:50)-A to get what you expected.

Loren:
That is a nice trick. Not that I will probably ever use it, but still. I would personally say that the obfuscation caused by the longer code sequences in the text do not outweigh the added benefit of being able to reorder or repeat arguments, ignoring the translation case which I will not have to deal with in the near or even remote future.

--DA</description>
		<content:encoded><![CDATA[<p>Raymond:<br />
It appears that the &#8211; has priority over the :. Try (1:50)-A to get what you expected.</p>
<p>Loren:<br />
That is a nice trick. Not that I will probably ever use it, but still. I would personally say that the obfuscation caused by the longer code sequences in the text do not outweigh the added benefit of being able to reorder or repeat arguments, ignoring the translation case which I will not have to deal with in the near or even remote future.</p>
<p>&#8211;DA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond</title>
		<link>http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17849</link>
		<dc:creator>Raymond</dc:creator>
		<pubDate>Fri, 21 Sep 2007 02:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/09/19/numbered-argument-specification/#comment-17849</guid>
		<description>Loren,

I have a question about colon notation that is not covered in doc colon.  Why does 1:A, where A is a matrix, evaluate to 1:A(1)?  This seems to be an important gotcha because if you try to evaluate

A=1:50;
1:50-A

You&#039;ll get an answer equal to 1:49, rather than the more intuitive zeros(size(A)).

--Raymond</description>
		<content:encoded><![CDATA[<p>Loren,</p>
<p>I have a question about colon notation that is not covered in doc colon.  Why does 1:A, where A is a matrix, evaluate to 1:A(1)?  This seems to be an important gotcha because if you try to evaluate</p>
<p>A=1:50;<br />
1:50-A</p>
<p>You&#8217;ll get an answer equal to 1:49, rather than the more intuitive zeros(size(A)).</p>
<p>&#8211;Raymond</p>
]]></content:encoded>
	</item>
</channel>
</rss>

