<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265126</link>
    <title>MATLAB Central Newsreader - need exponential growth function with features</title>
    <description>Feed for thread: need exponential growth function with features</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>Thu, 05 Nov 2009 22:47:01 -0500</pubDate>
      <title>need exponential growth function with features</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265126#692547</link>
      <author>Matthew </author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I am trying to model the bolus delivery of a pharmeceutical. Theoretically, the delivery shold look like:&lt;br&gt;
&lt;br&gt;
1-exp(-rate*abscissa);&lt;br&gt;
&lt;br&gt;
However, we are actually delivering the bolus through a syringe with the plunger being pushed by a human, i.e., it is hardly constant. When I try to model the data, I get back a rate, but the fit doesn't seem to model the data very well. It tends to peak a little early, then last longer than it should. &lt;br&gt;
&lt;br&gt;
I suspect that I need a model for the injection that has more detail associated with it. Is their a function that would produce an exponential growth with small oscillations in it that could be controlled by very few variables? I am trying to use fminsearch, and I don't want to have to search over a large number of parameters to get a decent fit, but I suspect only fitting the rate is insufficient. &lt;br&gt;
&lt;br&gt;
Any ideas?&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 00:04:01 -0500</pubDate>
      <title>Re: need exponential growth function with features</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265126#692556</link>
      <author>John D'Errico</author>
      <description>&quot;Matthew&quot; &amp;lt;matthew.merritt.nospam@utsouthwestern.edu&amp;gt; wrote in message &amp;lt;hcvkl5$82f$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am trying to model the bolus delivery of a pharmeceutical. Theoretically, the delivery shold look like:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1-exp(-rate*abscissa);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; However, we are actually delivering the bolus through a syringe with the plunger being pushed by a human, i.e., it is hardly constant. When I try to model the data, I get back a rate, but the fit doesn't seem to model the data very well. It tends to peak a little early, then last longer than it should. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I suspect that I need a model for the injection that has more detail associated with it. Is their a function that would produce an exponential growth with small oscillations in it that could be controlled by very few variables? I am trying to use fminsearch, and I don't want to have to search over a large number of parameters to get a decent fit, but I suspect only fitting the rate is insufficient. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Any ideas?&lt;br&gt;
&lt;br&gt;
No, here are no SIMPLE functions that can handle&lt;br&gt;
this class of model. So why not use something&lt;br&gt;
a bit more generic? You can still compute an&lt;br&gt;
effective (time varying) rate constant.&lt;br&gt;
&lt;br&gt;
Use my SLM tools to build a spline model, that is a&lt;br&gt;
monotone decreasing function. You can even force&lt;br&gt;
it to go through the point (x,y) = (0,1) if you wish.&lt;br&gt;
&lt;br&gt;
Once you have the function fit as a spline, you can&lt;br&gt;
then use slmeval to evaluate both the spline and&lt;br&gt;
its derivative at many points along the curve. Plot&lt;br&gt;
the function f'(x)/(1-f(x)). This would be a local&lt;br&gt;
effective rate. &lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 00:08:01 -0500</pubDate>
      <title>Re: need exponential growth function with features</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265126#692557</link>
      <author>John D'Errico</author>
      <description>&quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in message &amp;lt;hcvp5h$ato$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; Use my SLM tools to build a spline model, that is a&lt;br&gt;
&amp;gt; monotone decreasing function. You can even force&lt;br&gt;
&lt;br&gt;
Sorry, I forgot to add a link to SLM:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/24443&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/24443&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
  </channel>
</rss>

