Maxima error - draw2d

Maxima error - draw2d - Earlier posted fit.sm gives error - Mensajes

#1 Publicado: 15/7/2021 12:49:18
timgow

timgow

0 me gusta en 27 mensajes.

Grupo: 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 Publicado: 15/7/2021 13:45:20
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

My file opens without error
Fit1.sm (15,26 KiB) descargado 1267 vez(es).
#3 Publicado: 15/7/2021 13:57:29
timgow

timgow

0 me gusta en 27 mensajes.

Grupo: 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 Publicado: 15/7/2021 13:59:13
timgow

timgow

0 me gusta en 27 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 15/7/2021 16:39:39
timgow

timgow

0 me gusta en 27 mensajes.

Grupo: 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 Publicado: 15/7/2021 17:09:30
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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 Publicado: 15/7/2021 17:20:56
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1219 vez(es).
Genfit Kirby_2 [Reduced] Copy.sm (81,39 KiB) descargado 1115 vez(es).
Genfit Rational Type J_8 Copy.sm (65,8 KiB) descargado 1193 vez(es).

  • Nuevos mensajes
  • Sin mensajes nuevos