<?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: Code Generation from Import Wizard</title>
	<atom:link href="http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/</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: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/#comment-21444</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Fri, 16 Nov 2007 12:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=57#comment-21444</guid>
		<description>Remmy-

Please see &lt;a href=&quot;http://blogs.mathworks.com/loren/2006/08/02/processing-a-set-of-files/&quot; rel=&quot;nofollow&quot;&gt;this blog&lt;/a&gt; to answer you question on how to process files.  In your case, you will need to be careful to assign valid variable names to your data when you read it -- it can&#039;t be in the form of your current file names.  You might want to look at genvarname.

--Loren</description>
		<content:encoded><![CDATA[<p>Remmy-</p>
<p>Please see <a href="http://blogs.mathworks.com/loren/2006/08/02/processing-a-set-of-files/" rel="nofollow">this blog</a> to answer you question on how to process files.  In your case, you will need to be careful to assign valid variable names to your data when you read it &#8212; it can&#8217;t be in the form of your current file names.  You might want to look at genvarname.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Musumpuka Remmy</title>
		<link>http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/#comment-21442</link>
		<dc:creator>Musumpuka Remmy</dc:creator>
		<pubDate>Fri, 16 Nov 2007 11:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=57#comment-21442</guid>
		<description>hello there! am new to matlab and am working with wave files,
I need help on how i can import a number of wave files into matlab! 
currently am using wavread(&#039;2004-020-074500.wav&#039;) for example
where &quot;2004-020-074500.wav&quot; is just the filename! now i have more than just a file and i would like to automate the wavreading! kindly help!

Remmy</description>
		<content:encoded><![CDATA[<p>hello there! am new to matlab and am working with wave files,<br />
I need help on how i can import a number of wave files into matlab!<br />
currently am using wavread(&#8217;2004-020-074500.wav&#8217;) for example<br />
where &#8220;2004-020-074500.wav&#8221; is just the filename! now i have more than just a file and i would like to automate the wavreading! kindly help!</p>
<p>Remmy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudia Hofemann</title>
		<link>http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/#comment-16752</link>
		<dc:creator>Claudia Hofemann</dc:creator>
		<pubDate>Thu, 06 Sep 2007 10:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=57#comment-16752</guid>
		<description>Hi Loren,
I am using the Import Wizard, to import .dat files. Afterwards I am splitting them into x, y and z coordinates and I would like to compare this matrices or let’s say the average of the xx with the xx coordinates out of another picture (I have about 100 for each set). 

My files are quite big. The whole .dat file has 1431040x3 double numbers the reshaped about 1377x1040 double values inside. 

It would be perfect if you could give me an advice.

Claudia</description>
		<content:encoded><![CDATA[<p>Hi Loren,<br />
I am using the Import Wizard, to import .dat files. Afterwards I am splitting them into x, y and z coordinates and I would like to compare this matrices or let’s say the average of the xx with the xx coordinates out of another picture (I have about 100 for each set). </p>
<p>My files are quite big. The whole .dat file has 1431040&#215;3 double numbers the reshaped about 1377&#215;1040 double values inside. </p>
<p>It would be perfect if you could give me an advice.</p>
<p>Claudia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maik</title>
		<link>http://blogs.mathworks.com/loren/2006/10/05/code-generation-from-import-wizard/#comment-16046</link>
		<dc:creator>Maik</dc:creator>
		<pubDate>Tue, 06 Feb 2007 14:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/?p=57#comment-16046</guid>
		<description>Hello,

thank you for the idea to define the ticks by hand.
like: ticks = cumsum([min(date) 31 28 31 30 31 30 31 31 30 31 30]);

But when I changed my time horizon it did not work out.
Then I looked into the datevec() function.
Now it was easy to ask for the beginning of the month and take this as the datenum() for the ticks.
Then using datetick and your scale on monthly basis is right!

Here is my code example:


tm0=0;tmE=0;
t1 = datenum(num2str(200304010000),&#039;yyyymmddHHMM&#039;);
t2 = datenum(num2str(200311010000),&#039;yyyymmddHHMM&#039;);
for n=1:length(Qm_ho(:,1)),
    if (Qm_ho(n,1)== t1)
        tm0 = n;
    end
    if Qm_ho(n,1)== t2
        tmE = n;
    end
end
tm0
tmE

%ticks definitions for dates
alldates = Qm_ho(tm0:tmE,1);
dtick =[];
for f=1:24:length(alldates)
    dv=datevec(alldates(f));
    if dv(3)==1
        dtick=[dtick alldates(f)];
    end
end
datevec(dtick)
%use dtick for ticking the x axis</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>thank you for the idea to define the ticks by hand.<br />
like: ticks = cumsum([min(date) 31 28 31 30 31 30 31 31 30 31 30]);</p>
<p>But when I changed my time horizon it did not work out.<br />
Then I looked into the datevec() function.<br />
Now it was easy to ask for the beginning of the month and take this as the datenum() for the ticks.<br />
Then using datetick and your scale on monthly basis is right!</p>
<p>Here is my code example:</p>
<p>tm0=0;tmE=0;<br />
t1 = datenum(num2str(200304010000),&#8217;yyyymmddHHMM&#8217;);<br />
t2 = datenum(num2str(200311010000),&#8217;yyyymmddHHMM&#8217;);<br />
for n=1:length(Qm_ho(:,1)),<br />
    if (Qm_ho(n,1)== t1)<br />
        tm0 = n;<br />
    end<br />
    if Qm_ho(n,1)== t2<br />
        tmE = n;<br />
    end<br />
end<br />
tm0<br />
tmE</p>
<p>%ticks definitions for dates<br />
alldates = Qm_ho(tm0:tmE,1);<br />
dtick =[];<br />
for f=1:24:length(alldates)<br />
    dv=datevec(alldates(f));<br />
    if dv(3)==1<br />
        dtick=[dtick alldates(f)];<br />
    end<br />
end<br />
datevec(dtick)<br />
%use dtick for ticking the x axis</p>
]]></content:encoded>
	</item>
</channel>
</rss>

