Maxima error - draw2d

Maxima error - draw2d - Earlier posted fit.sm gives error - Сообщения

#1 Опубликовано: 15.07.2021 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 Опубликовано: 15.07.2021 13:45:20
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

My file opens without error
Fit1.sm (15 КиБ) скачан 37 раз(а).
#3 Опубликовано: 15.07.2021 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 Опубликовано: 15.07.2021 13:59:13
timgow

timgow

0 сообщений из 27 понравились пользователям.

Группа: User

Ber7, thank you for checking for me, not sure why now ok.
#5 Опубликовано: 15.07.2021 15:54:17
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 15.07.2021 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 Опубликовано: 15.07.2021 17:09:30
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Опубликовано: 15.07.2021 17:20:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 42 раз(а).
Genfit Kirby_2 [Reduced] Copy.sm (81 КиБ) скачан 41 раз(а).
Genfit Rational Type J_8 Copy.sm (65 КиБ) скачан 41 раз(а).

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений