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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

error: This value must be a scalar :( HELP

ycho-3
1-Visitor

error: This value must be a scalar :( HELP

Hi I am doing optimizing, and need to minimize the  error below . (by using Minerr in mathcad)

But before that,  problem is this error.

8 REPLIES 8
mzarrabi
13-Aquamarine
(To:ycho-3)

Hi @ycho-3, you need to do element by element multiplication for your equations to work. Also, you need to have a simple function for your e-e-t data (see the attached).

LucMeekes
23-Emerald III
(To:mzarrabi)

Note that the original post is 1.5 years old....

 

Luc

 

Smiley LOL

RichardJ
19-Tanzanite
(To:LucMeekes)

Yeah. So how did it bubble to the top again?

When I logged in this morning this was up, and a long list of Valery's posts dating back years (with the last post dated years ago.)

 

I think PTC's new improved web ware has a Y2.018K problem!  😉

Yeah, I didn't look at the dates, but now I see almost everything is really old material. These new forums leave a lot to be desired Smiley Sad

RichardJ
19-Tanzanite
(To:ycho-3)

As already pointed out, you need to vectorize the expressions.

 

When using minerr, do not calculate the error. Calculate a vector of residuals, resid:=fitting-experiment, and pass that to minerr. You will get better results.

Announcements

Top Tags