## 115 Reputation

14 years, 295 days

## nonlinear curve fit...

Maple

Dear Community,

I've made a nonlinear curve fit with the Minimize routine (see attachment). What would be an easy and elegant way to rerun the model (Model) with the fitted values of a, b, c and plot the result together with the measured points in the same chart? I'm stuck here.

best regards

Andras

BroSzem_Data.xlsx

Nonlin_Curve_Fit.mw

## MapleSim webinar with Modelica...

Dear MapleSoft,

Would it be possible you once design a MapleSim webinar for users with more emphasis on Modelica (language, examples, etc.), on how to build more complex custom components, not just a simple DC motor? I think this would be very useful and could extend / enhance the use of MapleSime even more.

best regards

Andras

## Elapsed days to date and vice versa...

Maple

Dear Community,

Is there an easy way to convert elapsed days since January 1 1900 to date, i.e. to year, month, day in Maple? E.g. 23021 days should convert to 1963.01.10. Also what is the opposite, i.e. from date to elapsed days?

best regards

Andras

## List of random colors...

Maple

Dear Community,

How could I specify a list of random colors using some kind of an RGB function, which then could be used in another command for coloring? I think of something like this:

myColors := [ seq( RGB ( [rint(0,255) , rint(0,255) , rint(0,255)] ) , j = 1 .. 20 ) ] :

which does not work of course :-)  This should produce me a list of 20 random colors.  What would be the right RGB color function?

Tx for the kind help in advance

best regards

Andras

## Problem with pointplot ...

Maple

Dear Community,

I generate two vectors and try to plot them one vs. the other ( ZPLOT vs. PREDS )  with the pointplot command. Unfortunately I get the message "points are not in the correct format" ... Probably a minor error, but it is unclear what format Maple expects here? What do I do wrong?

Tx. for the kind help in advance,

best regards

Andras

P.S. Maple file attached

Z_DAK_PROC.mw

 1 2 3 4 5 6 Page 5 of 6
﻿