Maxima error - draw2d

Maxima error - draw2d - Earlier posted fit.sm gives error - 消息

#1 已发布: 2021/7/15 12:49:18
timgow

timgow

0个赞,共27个帖子。

组: User

Hi,
I'm importing digitised graph data and wish to use a curve fit function. I have found only the Maxima 'Fit()' function, with reference to mkraska's file fit.sm (thank you mkraska).

https://en.smath.com/forum/yaf_postst7475_Curve-fit-function.aspx

I get an error when I open this file in my installation. I have installed maxima-5.45.1-win64.exe in a subdirectory in the Smath installation location.

Please see the error in the image attached.

Fit-error-15Jul21.PNG

Does this point to a known problem?

All help is much appreciated.
#2 已发布: 2021/7/15 13:45:20
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

My file opens without error
Fit1.sm (15.26 KiB)已下载 1278 次。
#3 已发布: 2021/7/15 13:57:29
timgow

timgow

0个赞,共27个帖子。

组: User

I have shutdown and reopened and the Draw2d error has disappeared.
In mkraska's example, a result could be produced for L:=()= but mine can't "A - not defined", any ideas why this would be?
#4 已发布: 2021/7/15 13:59:13
timgow

timgow

0个赞,共27个帖子。

组: User

Ber7, thank you for checking for me, not sure why now ok.
#5 已发布: 2021/7/15 15:54:17
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I'm importing digitized graph data and wish to use a curve fit function


1. Cholesky is the first classroom.
Rarely useful as very few physical phenomenons are poly type.
You can trick the exponents of the monomials.
2. Next is Padé rational fraction... needs lot more data points.
3. Else are model function [imagination is the limit].
That is a season Classroom !
The core component is Cholesky in Conjugate Gradient.

Cholesky.PNG

#6 已发布: 2021/7/15 16:39:39
timgow

timgow

0个赞,共27个帖子。

组: User

Jean,
Thank you for the illustration of Cholesky. My property curves are well behaved as in your example so I'm sure that this will be ok.
Much appreciated,
Tim
#7 已发布: 2021/7/15 17:09:30
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

I have shutdown and reopened and the Draw2d error has disappeared.
In mkraska's example, a result could be produced for L:=()= but mine can't "A - not defined", any ideas why this would be?



You have to switch to optimization none in the context menu. The result of Fit() is displayed as list of equations name=value. If you try to numerically evaluate this, then you get the error that A isn't defined.

Assign() converts the equations into assigments, so that further down the variables have numerical values.

2021-07-15 22_08_14-SMath Studio - [Fit1.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#8 已发布: 2021/7/15 17:20:56
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Jean,
Thank you for the illustration of Cholesky.
My property curves are well behaved as in your example so I'm sure that this will be ok.
Much appreciated,
Tim


Your data set is OK, compatible to poly 3.
More visit c/w error bar.
Thanks for your appreciation ... Cheers ... Jean

Poly 0 Read First Edu.sm (37.07 KiB)已下载 1233 次。
Genfit Kirby_2 [Reduced] Copy.sm (81.39 KiB)已下载 1135 次。
Genfit Rational Type J_8 Copy.sm (65.8 KiB)已下载 1203 次。

  • 有新帖
  • 无新帖