<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/174024</link>
    <title>MATLAB Central Newsreader - Weighted linspace?</title>
    <description>Feed for thread: Weighted linspace?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 08 Aug 2008 17:25:03 -0400</pubDate>
      <title>Weighted linspace?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/174024#448174</link>
      <author>Sven </author>
      <description>Hi there,&lt;br&gt;
&lt;br&gt;
I'm trying to create a slightly modified version of linspace.&lt;br&gt;
&lt;br&gt;
Linspace returns n numbers between x1 and x2, with constant&lt;br&gt;
spacing.&lt;br&gt;
&lt;br&gt;
I want to get n numbers between x1 and x2, but I want the&lt;br&gt;
spacing between numbers to increase/decrease constantly.&lt;br&gt;
&lt;br&gt;
Ie, the spacing between output(2:3) should be 0.9 times the&lt;br&gt;
spacing between output(1:2), and the spacing between&lt;br&gt;
output(3:4) should be 0.9 times the spacing between&lt;br&gt;
output(2:3), etc...&lt;br&gt;
&lt;br&gt;
I'm pretty sure this can be done in some simple operation&lt;br&gt;
that I just haven't figure out yet...&lt;br&gt;
Any ideas?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Sven.</description>
    </item>
    <item>
      <pubDate>Fri, 08 Aug 2008 18:04:02 -0400</pubDate>
      <title>Re: Weighted linspace?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/174024#448181</link>
      <author>Bruno Luong</author>
      <description>&quot;Sven &quot; &amp;lt;sven.holcombe@gmail.deleteme.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g7hvhf$8lt$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi there,&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm pretty sure this can be done in some simple operation&lt;br&gt;
&amp;gt; that I just haven't figure out yet...&lt;br&gt;
&amp;gt; Any ideas?&lt;br&gt;
&amp;gt; &lt;br&gt;
That's called logspace&lt;br&gt;
&lt;br&gt;
x = logspace(log10(x1),log10(x2),n)&lt;br&gt;
&lt;br&gt;
%Bruno</description>
    </item>
  </channel>
</rss>

