help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pade function in Octave?


From: Doug Stewart
Subject: Re: pade function in Octave?
Date: Thu, 31 Oct 2019 19:12:17 -0400



On Thu, Oct 31, 2019 at 5:54 PM vivek guajri <address@hidden> wrote:
Hi Doug,

Here is the code -

input = [-0.0036621,
    2.3550415,
    0.8752441,
   66.8194580,
    0.7614136,
    0.8776855,
    3.0838013,
    1.0122681,
    0.7711792,
    4.9240112,
    0.6887817,
    0.8718872,
    2.6031494
    0.7009888,
   18.9779663,
   -0.0021362,
   -0.0030518,
    0.8541870,
    9.1790771,
    1.0791016,
   80.2191162
   -0.0125122,
    0.8032227,
    2.3962402,
    3.3685303,
   -0.0018311,
   -0.0054932,
    1.1981201,
    0.6619263,
    0.7803345];

j = 1;
AreaT = 0;
for i = 1:size(input)
  if(input(i) > 0 && input(i) < 10)
    AreaT(j) = input(i);
    j++;
  end
end

[num, den] = padecoef(AreaT);




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

padecoef  is not curve fitting code. 
 
It just approximates a delay in the input data.
I don't know what you are trying to do, So I can't help you

--
DASCertificate for 206392


reply via email to

[Prev in Thread] Current Thread [Next in Thread]