<?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: MATLAB Basics: Functions and subfunctions</title>
	<atom:link href="http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8313</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Tue, 08 Jan 2008 15:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8313</guid>
		<description>Justin,

The display is coming from the results of the function a() being called.

&gt;&gt;a();

The semicolon will supress the print as you want.

Doug</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>The display is coming from the results of the function a() being called.</p>
<p>>>a();</p>
<p>The semicolon will supress the print as you want.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8312</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Tue, 08 Jan 2008 14:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8312</guid>
		<description>function [choose] = a()
choose=input(&#039;Solve &#039;,&#039;s&#039;);

switch choose
    case {&#039;Is&#039;}
        h()
    case &#039;Ic&#039;
        disp(&#039;c&#039;)
    otherwise
        disp(&#039;unknown&#039;)
end;

displayed in the command window

ans 

Is
What if i dont want Is to be displayed what should I do?</description>
		<content:encoded><![CDATA[<p>function [choose] = a()<br />
choose=input(&#8216;Solve &#8216;,&#8217;s');</p>
<p>switch choose<br />
    case {&#8216;Is&#8217;}<br />
        h()<br />
    case &#8216;Ic&#8217;<br />
        disp(&#8216;c&#8217;)<br />
    otherwise<br />
        disp(&#8216;unknown&#8217;)<br />
end;</p>
<p>displayed in the command window</p>
<p>ans </p>
<p>Is<br />
What if i dont want Is to be displayed what should I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8264</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 07 Jan 2008 14:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8264</guid>
		<description>Justin,

You are going to want to use the INPUT command.  
&gt;&gt; a = input(&#039;Give me a number: &#039;)

Enjoy,
Doug</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>You are going to want to use the INPUT command.<br />
>> a = input(&#8216;Give me a number: &#8216;)</p>
<p>Enjoy,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8152</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sat, 05 Jan 2008 09:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8152</guid>
		<description>can you show me how to write another function the would ask the user the value for the input of the variable</description>
		<content:encoded><![CDATA[<p>can you show me how to write another function the would ask the user the value for the input of the variable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JanKees</title>
		<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-7529</link>
		<dc:creator>JanKees</dc:creator>
		<pubDate>Sat, 22 Dec 2007 10:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-7529</guid>
		<description>Doug:

Good tutorial, as always. One thing that every time confuses me are the varargin, nargin, varargout, nargout options in a function. I believe that many users of Matlab also have the same problem.

Could you, in a future post (may be a video), talk about them? I would be very gratefull if this happens.

Yours,

JanKees</description>
		<content:encoded><![CDATA[<p>Doug:</p>
<p>Good tutorial, as always. One thing that every time confuses me are the varargin, nargin, varargout, nargout options in a function. I believe that many users of Matlab also have the same problem.</p>
<p>Could you, in a future post (may be a video), talk about them? I would be very gratefull if this happens.</p>
<p>Yours,</p>
<p>JanKees</p>
]]></content:encoded>
	</item>
</channel>
</rss>

