cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

LeastSquaresFit Problem

SOLVED
Highlighted
Amethyst

LeastSquaresFit Problem

Hello folks

when using LeastSquaresFit I'm getting an error notification: Unable to cast object of type 'Mcd.NumVal' to type 'Mpl.Run.Function'.

I'm using it for the first time so I'm not certain that the fault isn't mine. Any suggestions where to find the culprit?

Raiko

P.S.

I'm using MC 15 (M020) on a 64 bit Win 7 machine.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: LeastSquaresFit Problem

Some adjustment for the "f" function:

Pic_1.png

View solution in original post

6 REPLIES 6

Re: LeastSquaresFit Problem

Hi Raiko,

Any chance to see the worksheet?

Re: LeastSquaresFit Problem

May be this is a help for you:

MNK.png

Re: LeastSquaresFit Problem

Hello Vladimir,

sure here it is. As I said: I#m new to using the solver therefore it might be me doing something wrong. The error message however seems to indicate something's wrong with MC or my machine.

Thanks for your help

Raiko

Re: LeastSquaresFit Problem

Some adjustment for the "f" function:

Pic_1.png

View solution in original post

Re: LeastSquaresFit Problem

спасибо Владимир !

Raiko

Re: LeastSquaresFit Problem

You're welcome. Some note about this function:

Pic_2.png

Announcements