<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450</link>
    <title>MATLAB Central Newsreader - the mathematic relationship between two series of data</title>
    <description>Feed for thread: the mathematic relationship between two series of data</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>Sun, 13 Jul 2008 04:44:02 -0400</pubDate>
      <title>the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442666</link>
      <author>ZHANG Hong</author>
      <description>Hi,everyone,&lt;br&gt;
&lt;br&gt;
I tried to find out the mathematic relationship expression &lt;br&gt;
of two datasets listed as follows:&lt;br&gt;
&lt;br&gt;
A                      B&lt;br&gt;
0.0772               99.92%  &lt;br&gt;
0.104191429          99.61%&lt;br&gt;
0.131182857          98.99% &lt;br&gt;
0.158174286          98.37%&lt;br&gt;
0.185165714          97.37%&lt;br&gt;
0.212157143          96.36%&lt;br&gt;
0.239148571          95.20%&lt;br&gt;
0.26614              93.65%&lt;br&gt;
0.293131429          92.34% &lt;br&gt;
0.320122857          90.63%&lt;br&gt;
0.347114286          88.85%&lt;br&gt;
0.374105714          87.00%&lt;br&gt;
0.401097143          85.91% &lt;br&gt;
0.428088571          84.29%&lt;br&gt;
0.45508              82.35%&lt;br&gt;
0.482071429          81.11%&lt;br&gt;
0.509062857          76.55%&lt;br&gt;
0.536054286          72.37%&lt;br&gt;
0.563045714          68.34%&lt;br&gt;
0.590037143          65.87%&lt;br&gt;
0.617028571          62.15%&lt;br&gt;
0.64402              59.44%&lt;br&gt;
0.671011429          57.28%&lt;br&gt;
0.698002857          54.26%&lt;br&gt;
0.724994286          51.01%&lt;br&gt;
0.751985714          49.30%&lt;br&gt;
0.778977143          46.36%&lt;br&gt;
0.805968571          44.43%&lt;br&gt;
0.83296              42.96%&lt;br&gt;
0.859951429          40.40%&lt;br&gt;
0.886942857          39.01%&lt;br&gt;
0.913934286          36.84%&lt;br&gt;
0.940925714          34.06%&lt;br&gt;
0.967917143          33.05%&lt;br&gt;
0.994908571          30.96%&lt;br&gt;
&lt;br&gt;
if A is the independent vairable and B is the dependent &lt;br&gt;
variable, how to find out their mathematic relationships in &lt;br&gt;
Matlab? I have tried in EXCEL but it is not simple linear, &lt;br&gt;
exponential, log~~&lt;br&gt;
&lt;br&gt;
Thank you very much.</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 06:21:02 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442670</link>
      <author>Matt Fig</author>
      <description>&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; A                      B&lt;br&gt;
&amp;gt; 0.0772               99.92%  &lt;br&gt;
&amp;gt; 0.104191429          99.61%&lt;br&gt;
&amp;gt; 0.131182857          98.99% &lt;br&gt;
&amp;gt; 0.158174286          98.37%&lt;br&gt;
&amp;gt; 0.185165714          97.37%&lt;br&gt;
&amp;gt; 0.212157143          96.36%&lt;br&gt;
&amp;gt; 0.239148571          95.20%&lt;br&gt;
&amp;gt; 0.26614              93.65%&lt;br&gt;
&amp;gt; 0.293131429          92.34% &lt;br&gt;
&amp;gt; 0.320122857          90.63%&lt;br&gt;
&amp;gt; 0.347114286          88.85%&lt;br&gt;
&amp;gt; 0.374105714          87.00%&lt;br&gt;
&amp;gt; 0.401097143          85.91% &lt;br&gt;
&amp;gt; 0.428088571          84.29%&lt;br&gt;
&amp;gt; 0.45508              82.35%&lt;br&gt;
&amp;gt; 0.482071429          81.11%&lt;br&gt;
&amp;gt; 0.509062857          76.55%&lt;br&gt;
&amp;gt; 0.536054286          72.37%&lt;br&gt;
&amp;gt; 0.563045714          68.34%&lt;br&gt;
&amp;gt; 0.590037143          65.87%&lt;br&gt;
&amp;gt; 0.617028571          62.15%&lt;br&gt;
&amp;gt; 0.64402              59.44%&lt;br&gt;
&amp;gt; 0.671011429          57.28%&lt;br&gt;
&amp;gt; 0.698002857          54.26%&lt;br&gt;
&amp;gt; 0.724994286          51.01%&lt;br&gt;
&amp;gt; 0.751985714          49.30%&lt;br&gt;
&amp;gt; 0.778977143          46.36%&lt;br&gt;
&amp;gt; 0.805968571          44.43%&lt;br&gt;
&amp;gt; 0.83296              42.96%&lt;br&gt;
&amp;gt; 0.859951429          40.40%&lt;br&gt;
&amp;gt; 0.886942857          39.01%&lt;br&gt;
&amp;gt; 0.913934286          36.84%&lt;br&gt;
&amp;gt; 0.940925714          34.06%&lt;br&gt;
&amp;gt; 0.967917143          33.05%&lt;br&gt;
&amp;gt; 0.994908571          30.96%&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; if A is the independent vairable and B is the dependent &lt;br&gt;
&amp;gt; variable, how to find out their mathematic relationships in &lt;br&gt;
&amp;gt; Matlab? I have tried in EXCEL but it is not simple linear, &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Certainly an 11th order polynomial fits the data quite well,&lt;br&gt;
but a piecewise quadratic isn't bad either:&lt;br&gt;
&lt;br&gt;
P1 = polyfit(A(1:15),B(1:15),2);&lt;br&gt;
X1 = A(1):.001:A(15);&lt;br&gt;
Y1 = polyval(P1,X1);&lt;br&gt;
P2 = polyfit(A(16:end),B(16:end),2);&lt;br&gt;
X2 = A(16):.001:A(end);&lt;br&gt;
Y2 = polyval(P2,X2);&lt;br&gt;
plot(A,B,X1,Y1,X2,Y2)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I guess it depends on what you expect, and what you want out&lt;br&gt;
of the data.</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 08:44:02 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442680</link>
      <author>ZHANG Hong</author>
      <description>Hi, Mat,&lt;br&gt;
&lt;br&gt;
Thank you very much for your help and it really works out.&lt;br&gt;
&lt;br&gt;
I feel puzzled whether when we had got the scatter point &lt;br&gt;
graph of two datasets, if we want to find a function to &lt;br&gt;
feed it, it is to some extent depends on our experience. Is &lt;br&gt;
that right or any factors can be considered?&lt;br&gt;
&lt;br&gt;
Cheers!&lt;br&gt;
&lt;br&gt;
Hong ZHANG</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 09:03:01 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442681</link>
      <author>John D'Errico</author>
      <description>&quot;Matt Fig&quot; &amp;lt;spamanon@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g5c6se$rhd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; A                      B&lt;br&gt;
&amp;gt; &amp;gt; 0.0772               99.92%  &lt;br&gt;
&lt;br&gt;
(snip)&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt; 0.994908571          30.96%&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; if A is the independent vairable and B is the dependent &lt;br&gt;
&amp;gt; &amp;gt; variable, how to find out their mathematic relationships in &lt;br&gt;
&amp;gt; &amp;gt; Matlab? I have tried in EXCEL but it is not simple linear, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Certainly an 11th order polynomial fits the data quite well,&lt;br&gt;
&amp;gt; but a piecewise quadratic isn't bad either:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; P1 = polyfit(A(1:15),B(1:15),2);&lt;br&gt;
&amp;gt; X1 = A(1):.001:A(15);&lt;br&gt;
&amp;gt; Y1 = polyval(P1,X1);&lt;br&gt;
&amp;gt; P2 = polyfit(A(16:end),B(16:end),2);&lt;br&gt;
&amp;gt; X2 = A(16):.001:A(end);&lt;br&gt;
&amp;gt; Y2 = polyval(P2,X2);&lt;br&gt;
&amp;gt; plot(A,B,X1,Y1,X2,Y2)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I guess it depends on what you expect, and what you want out&lt;br&gt;
&amp;gt; of the data.&lt;br&gt;
&lt;br&gt;
The OP should accept that a piecewise quadratic&lt;br&gt;
done in this way will not even be a continuous&lt;br&gt;
function overall.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 09:32:27 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442682</link>
      <author>John D'Errico</author>
      <description>&quot;ZHANG Hong&quot; &amp;lt;oceanzhhd@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g5cf8i$eg8$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi, Mat,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you very much for your help and it really works out.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I feel puzzled whether when we had got the scatter point &lt;br&gt;
&amp;gt; graph of two datasets, if we want to find a function to &lt;br&gt;
&amp;gt; feed it, it is to some extent depends on our experience. Is &lt;br&gt;
&amp;gt; that right or any factors can be considered?&lt;br&gt;
&lt;br&gt;
I looked at your data. Your question is a not&lt;br&gt;
uncommon one at all. What is &quot;the&quot; function&lt;br&gt;
that represents my data?&lt;br&gt;
&lt;br&gt;
The problem is that you need to bring along&lt;br&gt;
much information that you have as the person&lt;br&gt;
who generated this data, and as the person&lt;br&gt;
who has a need to find a model for the data.&lt;br&gt;
&lt;br&gt;
- Is there noise in your measurements?&lt;br&gt;
&lt;br&gt;
- Is that noise significant, and must it be&lt;br&gt;
smoothed out?&lt;br&gt;
&lt;br&gt;
- What form of a function is acceptable to you?&lt;br&gt;
&lt;br&gt;
- Will the resulting model be used for simple&lt;br&gt;
prediction, or do you wish to then write down&lt;br&gt;
that model, and study perhaps for a paper?&lt;br&gt;
&lt;br&gt;
- What are your needs for the resulting model? &lt;br&gt;
&lt;br&gt;
- How accurately must the model fit your data?&lt;br&gt;
&lt;br&gt;
- What assumptions are you willing to make&lt;br&gt;
about that model?&lt;br&gt;
&lt;br&gt;
- What knowledge do you have about the&lt;br&gt;
system that generated this data? For&lt;br&gt;
example, do you know it to be monotone?&lt;br&gt;
&lt;br&gt;
- Will you try to extrapolate this curve to&lt;br&gt;
some point(s)?&lt;br&gt;
&lt;br&gt;
Some questions that are specific to the data&lt;br&gt;
you listed might focus on what I saw when I&lt;br&gt;
plotted it.&lt;br&gt;
&lt;br&gt;
- It appears that the curve might have a&lt;br&gt;
small break in the derivative near the middle.&lt;br&gt;
Is this something that you know exists, or is&lt;br&gt;
that merely noise? I've often seen artifacts&lt;br&gt;
like this created when an instrument is&lt;br&gt;
recalibrated in the middle of an experiment.&lt;br&gt;
&lt;br&gt;
There are entire realms of mathematics that&lt;br&gt;
try to deal with these questions, and the&lt;br&gt;
issues that arise from those questions. You&lt;br&gt;
may find those realms referred to by the&lt;br&gt;
various names modeling, approximation,&lt;br&gt;
curvefitting, and interpolation. In fact, there&lt;br&gt;
are complete toolboxes from the MathWorks&lt;br&gt;
that attempt to help you with these problems,&lt;br&gt;
in the form of the splines toolbox, as well as&lt;br&gt;
the curvefitting, optimization, neural net&lt;br&gt;
toolboxes, etc. You will also find large&lt;br&gt;
numbers of submission on the file exchange,&lt;br&gt;
entire categories of tools, that will help you &lt;br&gt;
too.&lt;br&gt;
&lt;br&gt;
But first, you must resolve some of the&lt;br&gt;
questions I've posed above.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 10:44:01 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442688</link>
      <author>ZHANG Hong</author>
      <description>Hi, John,&lt;br&gt;
&lt;br&gt;
I had read your reply repeatly and I do appreciate your &lt;br&gt;
help and suggestions.&lt;br&gt;
&lt;br&gt;
Yes, As you say both data itself including its &lt;br&gt;
orgin/background, noise, and what we expected it to be will &lt;br&gt;
affect the final result of datafitting. It is not easy to &lt;br&gt;
relate the curvefitting function to the real life meaning &lt;br&gt;
of the dataset especially when you got unexpected result &lt;br&gt;
which you at first thought it would be the same as many &lt;br&gt;
experimental studies had proved to. In this condition, i &lt;br&gt;
always look back to my data and see whether it is the &lt;br&gt;
geographic condition, data collectiong process or other &lt;br&gt;
factors that affect it, or if it is really an emergency &lt;br&gt;
that many other system might have.&lt;br&gt;
&lt;br&gt;
Cheers!&lt;br&gt;
&lt;br&gt;
Hong</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 11:26:02 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442689</link>
      <author>John D'Errico</author>
      <description>&quot;ZHANG Hong&quot; &amp;lt;oceanzhhd@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g5cm9h$r70$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi, John,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I had read your reply repeatly and I do appreciate your &lt;br&gt;
&amp;gt; help and suggestions.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Yes, As you say both data itself including its &lt;br&gt;
&amp;gt; orgin/background, noise, and what we expected it to be will &lt;br&gt;
&amp;gt; affect the final result of datafitting. It is not easy to &lt;br&gt;
&amp;gt; relate the curvefitting function to the real life meaning &lt;br&gt;
&amp;gt; of the dataset especially when you got unexpected result &lt;br&gt;
&amp;gt; which you at first thought it would be the same as many &lt;br&gt;
&amp;gt; experimental studies had proved to. In this condition, i &lt;br&gt;
&amp;gt; always look back to my data and see whether it is the &lt;br&gt;
&amp;gt; geographic condition, data collectiong process or other &lt;br&gt;
&amp;gt; factors that affect it, or if it is really an emergency &lt;br&gt;
&amp;gt; that many other system might have.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hong&lt;br&gt;
&lt;br&gt;
As a continuation of my last response,&lt;br&gt;
normally, I'd suggest a spline fit as a&lt;br&gt;
starting point. Is an interpolating spline&lt;br&gt;
appropriate for you? It all depends on&lt;br&gt;
what you will do with the curve and what&lt;br&gt;
your goals are.&lt;br&gt;
&lt;br&gt;
A least squares spline or a smoothing&lt;br&gt;
spline are also options to be considered.&lt;br&gt;
Since it sounds as if you do not have any&lt;br&gt;
mechanistic or physical model for your&lt;br&gt;
data, splines are often a good choice. But&lt;br&gt;
even then there are issues to consider. Do&lt;br&gt;
you have important information in your&lt;br&gt;
knowledge of the process? Must it be&lt;br&gt;
monotone? Do you know something about&lt;br&gt;
the curvature of the relationship to be&lt;br&gt;
modeled? Do you have a measure of the&lt;br&gt;
noise variance on this data?&lt;br&gt;
&lt;br&gt;
For example, my own utility, estimatenoise,&lt;br&gt;
estimates the standard deviation to be&lt;br&gt;
roughly 0.005. But is this consistent with&lt;br&gt;
your own knowledge of the process?&lt;br&gt;
&lt;br&gt;
sqrt(estimatenoise(A,B))&lt;br&gt;
ans =&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0.0047606&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 13:45:03 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442696</link>
      <author>Hong Zhang</author>
      <description>Hi,John,&lt;br&gt;
&lt;br&gt;
&quot;it sounds as if you do not have any mechanistic or &lt;br&gt;
physical model for yourdata&quot;, That's to the point. &lt;br&gt;
Actually, in my former dataset, A is the interval of a &lt;br&gt;
series of measurment value and B is corresponding &lt;br&gt;
cumulative probability. As there is no reference about the &lt;br&gt;
distribution rule of such measurment, at first i think it &lt;br&gt;
would be power-law which may be accord with the real life &lt;br&gt;
condition.&lt;br&gt;
&lt;br&gt;
I had no clear idea until now. Why it appears to be a &lt;br&gt;
piecewise quadratic? why it has a small break? In fact, A &lt;br&gt;
is the result of another matalb programming which is point &lt;br&gt;
to an adjacency matrix.&lt;br&gt;
&lt;br&gt;
Your suggestions do give me some hints and clues. I need to &lt;br&gt;
think carefully about the mechanism of the independent &lt;br&gt;
variable and its real life meaning.&lt;br&gt;
&lt;br&gt;
BTW, Is estimatenoise to used to evaluate or improve the &lt;br&gt;
curvefitting precision? It is obiviously important to be &lt;br&gt;
considered. But for me, this curvefitting process is &lt;br&gt;
something like data mining. i concerns what relationship &lt;br&gt;
the dataset emerge and why it appears like that.&lt;br&gt;
&lt;br&gt;
Cheers!&lt;br&gt;
&lt;br&gt;
Hong</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 14:58:01 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442700</link>
      <author>John D'Errico</author>
      <description>&quot;Hong Zhang&quot; &amp;lt;oceanzhhd@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g5d0sv$2un$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,John,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;it sounds as if you do not have any mechanistic or &lt;br&gt;
&amp;gt; physical model for yourdata&quot;, That's to the point. &lt;br&gt;
&amp;gt; Actually, in my former dataset, A is the interval of a &lt;br&gt;
&amp;gt; series of measurment value and B is corresponding &lt;br&gt;
&amp;gt; cumulative probability. As there is no reference about the &lt;br&gt;
&amp;gt; distribution rule of such measurment, at first i think it &lt;br&gt;
&amp;gt; would be power-law which may be accord with the real life &lt;br&gt;
&amp;gt; condition.&lt;br&gt;
&lt;br&gt;
If it should be some sort of a power law,&lt;br&gt;
think about the form. You might consider&lt;br&gt;
reading through my nonlinear shapes&lt;br&gt;
submission:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?&lt;/a&gt;&lt;br&gt;
objectId=10864&amp;objectType=FILE&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; I had no clear idea until now. Why it appears to be a &lt;br&gt;
&amp;gt; piecewise quadratic? why it has a small break? In fact, A &lt;br&gt;
&amp;gt; is the result of another matalb programming which is point &lt;br&gt;
&amp;gt; to an adjacency matrix.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Your suggestions do give me some hints and clues. I need to &lt;br&gt;
&amp;gt; think carefully about the mechanism of the independent &lt;br&gt;
&amp;gt; variable and its real life meaning.&lt;br&gt;
&lt;br&gt;
Exactly. It is this introspection that is very&lt;br&gt;
important when you do modeling. It helps&lt;br&gt;
you to learn about your process, and perhaps&lt;br&gt;
discover things that you know about the&lt;br&gt;
system that you might not have seen&lt;br&gt;
otherwise.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; BTW, Is estimatenoise to used to evaluate or improve the &lt;br&gt;
&amp;gt; curvefitting precision? It is obiviously important to be &lt;br&gt;
&amp;gt; considered.&lt;br&gt;
&lt;br&gt;
Estimatenoise might help you if you are&lt;br&gt;
using a smoothing spline to approximate&lt;br&gt;
the relationship, since they can use that&lt;br&gt;
information.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; But for me, this curvefitting process is &lt;br&gt;
&amp;gt; something like data mining. i concerns what relationship &lt;br&gt;
&amp;gt; the dataset emerge and why it appears like that.&lt;br&gt;
&lt;br&gt;
Curvefitting can be a voyage of discovery,&lt;br&gt;
helping you to learn about the process you&lt;br&gt;
will fit. Or it can be as simple as a brute&lt;br&gt;
force interpolation, or polynomial curve fit.&lt;br&gt;
You may receive returns that are directly&lt;br&gt;
related to the effort you expend in the&lt;br&gt;
modeling process.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 18:05:03 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442708</link>
      <author>Per Sundqvist</author>
      <description>&quot;John D'Errico&quot; &amp;lt;woodchips@rochester.rr.com&amp;gt; wrote in&lt;br&gt;
message &amp;lt;g5d55p$a3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Hong Zhang&quot; &amp;lt;oceanzhhd@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;g5d0sv$2un$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi,John,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;it sounds as if you do not have any mechanistic or &lt;br&gt;
&amp;gt; &amp;gt; physical model for yourdata&quot;, That's to the point. &lt;br&gt;
&amp;gt; &amp;gt; Actually, in my former dataset, A is the interval of a &lt;br&gt;
&amp;gt; &amp;gt; series of measurment value and B is corresponding &lt;br&gt;
&amp;gt; &amp;gt; cumulative probability. As there is no reference about the &lt;br&gt;
&amp;gt; &amp;gt; distribution rule of such measurment, at first i think it &lt;br&gt;
&amp;gt; &amp;gt; would be power-law which may be accord with the real life &lt;br&gt;
&amp;gt; &amp;gt; condition.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If it should be some sort of a power law,&lt;br&gt;
&amp;gt; think about the form. You might consider&lt;br&gt;
&amp;gt; reading through my nonlinear shapes&lt;br&gt;
&amp;gt; submission:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?&lt;/a&gt;&lt;br&gt;
&amp;gt; objectId=10864&amp;objectType=FILE&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I had no clear idea until now. Why it appears to be a &lt;br&gt;
&amp;gt; &amp;gt; piecewise quadratic? why it has a small break? In fact, A &lt;br&gt;
&amp;gt; &amp;gt; is the result of another matalb programming which is point &lt;br&gt;
&amp;gt; &amp;gt; to an adjacency matrix.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Your suggestions do give me some hints and clues. I need to &lt;br&gt;
&amp;gt; &amp;gt; think carefully about the mechanism of the independent &lt;br&gt;
&amp;gt; &amp;gt; variable and its real life meaning.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Exactly. It is this introspection that is very&lt;br&gt;
&amp;gt; important when you do modeling. It helps&lt;br&gt;
&amp;gt; you to learn about your process, and perhaps&lt;br&gt;
&amp;gt; discover things that you know about the&lt;br&gt;
&amp;gt; system that you might not have seen&lt;br&gt;
&amp;gt; otherwise.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; &amp;gt; BTW, Is estimatenoise to used to evaluate or improve the &lt;br&gt;
&amp;gt; &amp;gt; curvefitting precision? It is obiviously important to be &lt;br&gt;
&amp;gt; &amp;gt; considered.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Estimatenoise might help you if you are&lt;br&gt;
&amp;gt; using a smoothing spline to approximate&lt;br&gt;
&amp;gt; the relationship, since they can use that&lt;br&gt;
&amp;gt; information.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; But for me, this curvefitting process is &lt;br&gt;
&amp;gt; &amp;gt; something like data mining. i concerns what relationship &lt;br&gt;
&amp;gt; &amp;gt; the dataset emerge and why it appears like that.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Curvefitting can be a voyage of discovery,&lt;br&gt;
&amp;gt; helping you to learn about the process you&lt;br&gt;
&amp;gt; will fit. Or it can be as simple as a brute&lt;br&gt;
&amp;gt; force interpolation, or polynomial curve fit.&lt;br&gt;
&amp;gt; You may receive returns that are directly&lt;br&gt;
&amp;gt; related to the effort you expend in the&lt;br&gt;
&amp;gt; modeling process.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; John&lt;br&gt;
&lt;br&gt;
It looks like you should have y(1)=30 and y(0)=100 and&lt;br&gt;
y'(0)=0. I think you could use the mechanical fourth order&lt;br&gt;
differential equation in 1D to model this, using appropriate&lt;br&gt;
BC and stiffnes parameters. Then fit your data to this&lt;br&gt;
analytic formula, its related to linear combinations of&lt;br&gt;
sinh, cosh, sin and cos in some way.</description>
    </item>
    <item>
      <pubDate>Sun, 13 Jul 2008 22:52:01 -0400</pubDate>
      <title>Re: the mathematic relationship between two series of data</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172450#442716</link>
      <author>John D'Errico</author>
      <description>&quot;Per Sundqvist&quot; &amp;lt;sunkan@fy.chalmers.se&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g5dg4f$f6n$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; It looks like you should have y(1)=30 and y(0)=100 and&lt;br&gt;
&amp;gt; y'(0)=0. I think you could use the mechanical fourth order&lt;br&gt;
&amp;gt; differential equation in 1D to model this, using appropriate&lt;br&gt;
&amp;gt; BC and stiffnes parameters. Then fit your data to this&lt;br&gt;
&amp;gt; analytic formula, its related to linear combinations of&lt;br&gt;
&amp;gt; sinh, cosh, sin and cos in some way.&lt;br&gt;
&lt;br&gt;
An interesting point is that this is just a spline.&lt;br&gt;
&lt;br&gt;
The 4'th order differential equation described&lt;br&gt;
is the same one that generates a cubic spline.&lt;br&gt;
&lt;br&gt;
An axial tension term merely turns this into a&lt;br&gt;
tension spline, the solutions to which can be&lt;br&gt;
written in terms of tanh.&lt;br&gt;
&lt;br&gt;
A smoothness term allows you to turn it into a&lt;br&gt;
smoothing spline, minimizing a combination&lt;br&gt;
of the residual errors plus the potential energy&lt;br&gt;
due to bending stored in the spline. And of&lt;br&gt;
course, the end conditions described are also&lt;br&gt;
modeled easily as a spline.&lt;br&gt;
&lt;br&gt;
So the idea of posing a model in terms of a&lt;br&gt;
differential equation, then fitting the result,&lt;br&gt;
is achieved more simply by just using a least&lt;br&gt;
squares spline in some form. The boundary&lt;br&gt;
conditions described are all achievable using&lt;br&gt;
splines.&lt;br&gt;
&lt;br&gt;
John</description>
    </item>
  </channel>
</rss>

