<?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 Basics: Functions and subfunctions</title>
	<link>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/</link>
	<description>&#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=969735&#38;objectType=author"&#62;Bob&#60;/a&#62;, &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author"&#62;Brett&#60;/a&#62; &#38; &#60;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author"&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<pubDate>Mon, 23 Nov 2009 01:15:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.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>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>http://blogs.mathworks.com/pick/2007/12/21/matlab-basics-functions-and-subfunctions/#comment-8312</guid>
		<description>function [choose] = a()
choose=input('Solve ','s');

switch choose
    case {'Is'}
        h()
    case 'Ic'
        disp('c')
    otherwise
        disp('unknown')
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(&#8217;Solve &#8216;,&#8217;s&#8217;);</p>
<p>switch choose<br />
    case {&#8217;Is&#8217;}<br />
        h()<br />
    case &#8216;Ic&#8217;<br />
        disp(&#8217;c')<br />
    otherwise<br />
        disp(&#8217;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>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('Give me a number: ')

Enjoy,
Doug</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>You are going to want to use the INPUT command.<br />
>> a = input(&#8217;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>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>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>
