<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/most_recent_feed</link>
    <title>MATLAB Central Newsreader Recent Posts</title>
    <description>Most Recent Posts</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2010 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:45:06 -0400</pubDate>
      <title>face extraction from an image</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276404#726226</link>
      <author>fida khalid</author>
      <description>hello&lt;br&gt;
i want to know how can i extract the face from a given image; when i input an image for the whole body how can i extract the face and just the face and save the extarction information as a new image?&lt;br&gt;
is my quistion clear??</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:37:47 -0400</pubDate>
      <title>Re: Execution Time</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276402#726225</link>
      <author>Rune Allnor</author>
      <description>On 14 Mar, 15:25, &quot;ASL Bravo&quot; &amp;lt;engr...@live.co.uk&amp;gt; wrote:&lt;br&gt;
&amp;gt; hii,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Does anyone help me to find the execution time of my code(shown below),&lt;br&gt;
&lt;br&gt;
doc profile&lt;br&gt;
&lt;br&gt;
Rune</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:35:06 -0400</pubDate>
      <title>Feature Extraction</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276403#726224</link>
      <author>Yashveer Ramparsad</author>
      <description>Doing this number plate recognition thing. And i have the number plate already, and can segment the letters and number from the plate. I've done lots of research and most of the articles say they've used Template Matching. I've seen one that uses SEPCOR, not sure what it is exactly, apart from the fact that it uses statistical methods for matching. There are problems with both methods, what i wanted to know is which would be the better to use, and why. And is there a proper definition for SEPCOR cos google doesn't really provide a proper reference.</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:34:05 -0400</pubDate>
      <title>Re: Update M File</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276400#726222</link>
      <author>Jan Simon</author>
      <description>Dear Brendan!&lt;br&gt;
&lt;br&gt;
&amp;gt; I often will edit a matlab m file on one computer, and copy the file to a machine that is more powerful and has more resources for execution.  However, I am having the following incredibly frustrating problem: many times the when I copy over an old version of an m-file with a new version, the code from the old version is run instead.   I believe this has to do with the compilation of the m files, i.e. there is some intermediate code file from the old m code (.asv I think) that is being run instead of the new m code.  I had been calling the 'rehash' command recently, which seemed to work better (i.e. my new code was run often than before), but I still have cases when the old code is run instead. I have also tried the refresh command with no success.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Does anyone know a resolution to this problem? It is insanely frustrating to run a program that takes one hour, only to find out afterwards it ran the old version of the code.&lt;br&gt;
&lt;br&gt;
The .asv files are just backups of the M-files and they are not used for processing. But there are copies of the M-files in the memory. Usually they are replaced if newer versions of the files are available, but this may fail if you work on a network drive and the &quot;change notification handles&quot; of the operating system are exhausted. Fortunately there is a tool which never fails to remove the M-functions from the memory: CLEAR.&lt;br&gt;
Either clear the specific file, e.g. myFunc.m:&lt;br&gt;
&amp;nbsp;&amp;nbsp;clear myFunc&lt;br&gt;
or all functions:&lt;br&gt;
&amp;nbsp;&amp;nbsp;clear functions&lt;br&gt;
&lt;br&gt;
Did you try &quot;rehash pathreset&quot; ? I'd expected, that this works well. But I'd rely on CLEAR.&lt;br&gt;
&lt;br&gt;
Good luck, Jan</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:34:05 -0400</pubDate>
      <title>Re: distribution function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276398#726223</link>
      <author>Matt J </author>
      <description>&quot;jeny hu&quot; &amp;lt;Yoggi@post.sk&amp;gt; wrote in message &amp;lt;hnipei$pn5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; help cumsum&lt;br&gt;
&amp;gt; I need the cdf for statistical testing(kstest,kuiper test....) and i know the result(accept H0) and I've already tried cumsum but this ends with rejecting H0&lt;br&gt;
==============&lt;br&gt;
&lt;br&gt;
That doesn't mean cumsum is wrong. It could mean there's aproblem somewhere else.</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:33:02 -0400</pubDate>
      <title>Re: Matlab Mex Compiler and Csdp.Exe Error</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276170#726221</link>
      <author>ali </author>
      <description>pls somebody help me pls </description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:25:06 -0400</pubDate>
      <title>Execution Time</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276402#726220</link>
      <author>ASL Bravo</author>
      <description>hii,&lt;br&gt;
&lt;br&gt;
Does anyone help me to find the execution time of my code(shown below), also m a newbie, any help to modify or make this code compliant to MAAB guideline is appreciated. &lt;br&gt;
&lt;br&gt;
function vehiclespeed = Calspeed(WSFrR,WSFrL,WSRrR,WSRrL,FrRQF,FrLQF,RrRQF,RrLQF)&lt;br&gt;
%#eml&lt;br&gt;
% This block supports an embeddable subset of the MATLAB language.&lt;br&gt;
% See the help menu for details. &lt;br&gt;
&lt;br&gt;
if FrRQF ==3 &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FrR_QF = True; &lt;br&gt;
else FrR_QF = False; &lt;br&gt;
end;&lt;br&gt;
&lt;br&gt;
if FrLQF ==3 &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FrL_QF = True; &lt;br&gt;
else FrL_QF = False; &lt;br&gt;
end;&lt;br&gt;
&lt;br&gt;
if RrRQF==3 &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RrR_QF = True; &lt;br&gt;
else RrR_QF = False; &lt;br&gt;
end;&lt;br&gt;
&lt;br&gt;
if RrLQF ==3 &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RrL_QF = True; &lt;br&gt;
else RrL_QF = False; &lt;br&gt;
end;&lt;br&gt;
&lt;br&gt;
if (FrR_QF &amp;&amp; FrL_QF &amp;&amp; RrR_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a = [WSFrR,WSFrL,WSRrR,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(a);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; FrL_QF &amp;&amp; RrR_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b = [WSFrR,WSFrL,WSRrR];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(b);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; FrL_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b = [WSFrR,WSFrL,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(b);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; FrL_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b = [WSFrR,WSFrL,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(b);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; RrR_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b = [WSFrR,WSRrR,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(b);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; FrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSFrR,WSFrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; RrR_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSFrR,WSRrR];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSFrR,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrL_QF &amp;&amp; RrR_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSFrL,WSRrR];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrL_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSFrL,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (RrR_QF &amp;&amp; RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [WSRrR,WSRrL];&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = Avg(c);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrR_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = WSFrR;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (FrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = WSFrL;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (RrR_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = WSRrR;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif (RrL_QF)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = WSRrL;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vehiclespeed = 0;&lt;br&gt;
end;&lt;br&gt;
&lt;br&gt;
function AvgSpeed = Avg(q)&lt;br&gt;
SpeedAscend = Sort(q);&lt;br&gt;
AvgSpeed = (SpeedAscend(1)+SpeedAscend(2))/2;&lt;br&gt;
&amp;nbsp;&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:20:31 -0400</pubDate>
      <title>Assigning Property to Space Points</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276401#726219</link>
      <author>Arash</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I would like to assign scalar property to 3D space points, the problem&lt;br&gt;
is;&lt;br&gt;
&lt;br&gt;
1) How does the non uniform property (Pi) store as their related space&lt;br&gt;
points (Xi,Yi,Zi)?&lt;br&gt;
2) How could the property called back by entering its coordinates?&lt;br&gt;
3) Is there any possibility to use some function in this regards?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank you very much in advance&lt;br&gt;
Arash</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:17:22 -0400</pubDate>
      <title>Re: Detect black pixels in an image</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276395#726218</link>
      <author>ImageAnalyst</author>
      <description>Hugh Thompson:&lt;br&gt;
I agree with John in that it seems like your definition of black seems&lt;br&gt;
to change with each image.  So you really need some kind of&lt;br&gt;
thresholding algorithm - I assume you want an autothresholding method,&lt;br&gt;
perhaps with some visual verification/acceptance by the user.&lt;br&gt;
&lt;br&gt;
image_new = image &amp;lt; hist_thresh/2 should always work as long as you&lt;br&gt;
have a monochrome image.  Why doesn't it work?  Do you mean is doesn't&lt;br&gt;
&quot;work&quot; because you have chosen a threshold that's not appropriate?  If&lt;br&gt;
so, again, you need a good thresholding algorithm.  But you should&lt;br&gt;
realize that not every image has a nice flat, uniform background with&lt;br&gt;
contrasty objects sitting on it so a global threshold like you're&lt;br&gt;
doing may not work.  What if the objects are on a background that is&lt;br&gt;
like a ramp, or varies wildly depending on where you are in the&lt;br&gt;
image?  You may have to do some preprocessing of the image to flatten&lt;br&gt;
the background so you can detect the objects by thresholding.  And we&lt;br&gt;
can't make suggestions on that until we see a wide variety of images.&lt;br&gt;
So post some.&lt;br&gt;
&lt;br&gt;
And like has been said many times before, if you have control over the&lt;br&gt;
image capture situation, it's far better to get a good image there&lt;br&gt;
than to try fancy algorithms later to try to fix it up.&lt;br&gt;
&lt;br&gt;
If you have a color image, John's suggestion of transforming your&lt;br&gt;
color space is a good one.  There is a function rgb2hsv() that you can&lt;br&gt;
look into.  No such nice and easy function for rgb-to-lab - I don't&lt;br&gt;
know why - but you can do it with the makecform function as described&lt;br&gt;
in this demo on color segmentation:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexfabric.html&quot;&gt;http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexfabric.html&lt;/a&gt;&lt;br&gt;
Good luck,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:14:04 -0400</pubDate>
      <title>Re: Update M File</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276400#726217</link>
      <author>John D'Errico</author>
      <description>&quot;Brendan Klare&quot; &amp;lt;bklare@gmail.com&amp;gt; wrote in message &amp;lt;hnipnu$o7$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I often will edit a matlab m file on one computer, and copy the file to a machine that is more powerful and has more resources for execution.  However, I am having the following incredibly frustrating problem: many times the when I copy over an old version of an m-file with a new version, the code from the old version is run instead.   I believe this has to do with the compilation of the m files, i.e. there is some intermediate code file from the old m code (.asv I think) that is being run instead of the new m code.  I had been calling the 'rehash' command recently, which seemed to work better (i.e. my new code was run often than before), but I still have cases when the old code is run instead. I have also tried the refresh command with no success.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Does anyone know a resolution to this problem? It is insanely frustrating to run a program that takes one hour, only to find out afterwards it ran the old version of the code.&lt;br&gt;
&lt;br&gt;
Where do you put these files?&lt;br&gt;
&lt;br&gt;
Do NOT place them in the MATLAB toolbox directories,&lt;br&gt;
as those files are not seen until MATLAB restarts.&lt;br&gt;
&lt;br&gt;
I once wrote a function to sync a set of directories,&lt;br&gt;
downloading only those files that are new. I should&lt;br&gt;
look to see where it is.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 14:01:26 -0400</pubDate>
      <title>Re: Image Attacks</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276376#726216</link>
      <author>ImageAnalyst</author>
      <description>Abdulhakeem Othman:&lt;br&gt;
So you already have a watermarked image and you're trying to the&lt;br&gt;
watermark itself?&lt;br&gt;
&lt;br&gt;
I don't have a demo on all those filters but they're described in the&lt;br&gt;
help documentation.  Here's a more general purpose demo on object&lt;br&gt;
segmentation and measurement:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/25157&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/25157&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you have any more specific questions, come back and post your code&lt;br&gt;
and images.  It's always preferable to make image processing&lt;br&gt;
suggestions when you have an image that you can look at.</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 13:59:04 -0400</pubDate>
      <title>Re: ask for help expanding a matrix</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276391#726215</link>
      <author>Yaquan Xu</author>
      <description>Thank you so much. It really solved my problem!&lt;br&gt;
&lt;br&gt;
&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.findmycountry&amp;gt; wrote in message &amp;lt;hni4se$ot2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; A=[0 5 2 3&lt;br&gt;
&amp;gt; 5 0 1 4&lt;br&gt;
&amp;gt; 2 1 0 5&lt;br&gt;
&amp;gt; 3 4 5 0]&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; A =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      0     5     2     3&lt;br&gt;
&amp;gt;      5     0     1     4&lt;br&gt;
&amp;gt;      2     1     0     5&lt;br&gt;
&amp;gt;      3     4     5     0&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; kron(A,[1 0; 0 1])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ans =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      0     0     5     0     2     0     3     0&lt;br&gt;
&amp;gt;      0     0     0     5     0     2     0     3&lt;br&gt;
&amp;gt;      5     0     0     0     1     0     4     0&lt;br&gt;
&amp;gt;      0     5     0     0     0     1     0     4&lt;br&gt;
&amp;gt;      2     0     1     0     0     0     5     0&lt;br&gt;
&amp;gt;      0     2     0     1     0     0     0     5&lt;br&gt;
&amp;gt;      3     0     4     0     5     0     0     0&lt;br&gt;
&amp;gt;      0     3     0     4     0     5     0     0&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; % Bruno</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 13:53:02 -0400</pubDate>
      <title>Update M File</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276400#726214</link>
      <author>Brendan Klare</author>
      <description>I often will edit a matlab m file on one computer, and copy the file to a machine that is more powerful and has more resources for execution.  However, I am having the following incredibly frustrating problem: many times the when I copy over an old version of an m-file with a new version, the code from the old version is run instead.   I believe this has to do with the compilation of the m files, i.e. there is some intermediate code file from the old m code (.asv I think) that is being run instead of the new m code.  I had been calling the 'rehash' command recently, which seemed to work better (i.e. my new code was run often than before), but I still have cases when the old code is run instead. I have also tried the refresh command with no success.  &lt;br&gt;
&lt;br&gt;
Does anyone know a resolution to this problem? It is insanely frustrating to run a program that takes one hour, only to find out afterwards it ran the old version of the code.</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 13:48:02 -0400</pubDate>
      <title>Re: distribution function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276398#726213</link>
      <author>jeny hu</author>
      <description>&quot;Matt J &quot; &amp;lt;mattjacREMOVE@THISieee.spam&amp;gt; wrote in message &amp;lt;hniomr$eu4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;jeny hu&quot; &amp;lt;Yoggi@post.sk&amp;gt; wrote in message &amp;lt;hniogl$c6p$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; the code creates a probability density function and i need to create a distribution function&lt;br&gt;
&amp;gt; ===============&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; help cumsum&lt;br&gt;
I need the cdf for statistical testing(kstest,kuiper test....) and i know the result(accept H0) and I've already tried cumsum but this ends with rejecting H0</description>
    </item>
    <item>
      <pubDate>Sun, 14 Mar 2010 13:47:03 -0400</pubDate>
      <title>Re: parameter constraint on crossCorr</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/276293#726212</link>
      <author>John D'Errico</author>
      <description>&quot;M Ladderman&quot; &amp;lt;mirresimons@gmail.com&amp;gt; wrote in message &amp;lt;hni9q0$6ln$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is this is a stupid question or is the answer not easy. thanks for reading this mssg again, sorry to move it up in this way but I am struggling with it.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;M Ladderman&quot; &amp;lt;mirresimons@gmail.com&amp;gt; wrote in message &amp;lt;hndolo$rqf$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; dear all,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I want to constrain the crossCorr function to return parameters/solutions between 0-1, because a priori I do not expect any negative relationships.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Is there an easy way to do this that I am overlooking, thanks.&lt;br&gt;
&lt;br&gt;
Rune says it all. Just because you believe something&lt;br&gt;
is true about the correlations does not mean that it&lt;br&gt;
will in fact come out that way.&lt;br&gt;
&lt;br&gt;
If wishes were horses, beggars would ride.&lt;br&gt;
&lt;br&gt;
If you absolutely want it to happen, and are willing&lt;br&gt;
to &quot;cook the books&quot;, then just replace any negative&lt;br&gt;
correlations with zero. Problem solved.&lt;br&gt;
&lt;br&gt;
John&lt;br&gt;
John</description>
    </item>
  </channel>
</rss>
