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 15:18:44 -0500 (CDT)

Thank you Doug for your response!
I would like to fit some data to a curve using pade approximation. I have
used polyfit and it worked reasonably well, but I think pade may give the
most accurate fit equation.
This is the data I would like to fit - 

2.35504, 0.87524, 0.76141, 0.87769, 3.08380, 1.01227, 0.77118, 4.92401,
0.68878 , 0.87189 , 2.60315   0.70099 ,  0.85419 ,  9.17908, 1.07910 , 
0.80322 ,  2.39624 ,  3.36853 ,  1.19812 ,  0.66193 ,  0.78033

When I use this data as an argument to padecoef, I get the following
exception -

error: padecoef: T must be a non-negative scalar
error: called from
    padecoef at line 92 column 5
    padefunction at line 12 column 12

Do I have to convert the data to some form?
Please let me know.

Thank you,

Vivek.



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



reply via email to

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