help-octave
[Top][All Lists]
Advanced

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

Re: pade function in Octave?


From: vivek guajri
Subject: Re: pade function in Octave?
Date: Thu, 31 Oct 2019 16:54:57 -0500 (CDT)

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



reply via email to

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