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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Receiving a function from a matrix

curiouspete
3-Visitor

Receiving a function from a matrix

Hi guys,

 

my colleagues and I are trying to solve a dynamic problem. We had to plot this graph by using column vectors for each parameter. So each angle (alpha_B; alpha_C, alpha_zyl ) in this plot is shown as a function of alpha_H1.

Now we want to figure out how the mathematical function of these plots roughly looks like. Is there any quick operation we can use that shows us how the functions alpha_B (alpha_H1); alpha_C(alpha_H1) and alpha_zyl(alpha_H1) look like?

Best regards from Germany!
Have a great week! 

3 REPLIES 3
LucMeekes
23-Emerald III
(To:curiouspete)

Try using the curve fitting functions: expfit, sinfit, logfit, lnfit, pwrfit, lgsfit and genfit.

 

Success!
Luc

One way (Mathcad 15):

Mathcad Prime

Pictures from the book

https://www.springer.com/gp/book/9783319266732

 

 


@curiouspete wrote:

Hi guys,

 

my colleagues and I are trying to solve a dynamic problem. We had to plot this graph by using column vectors for each parameter. So each angle (alpha_B; alpha_C, alpha_zyl ) in this plot is shown as a function of alpha_H1.

Now we want to figure out how the mathematical function of these plots roughly looks like. Is there any quick operation we can use that shows us how the functions alpha_B (alpha_H1); alpha_C(alpha_H1) and alpha_zyl(alpha_H1) look like?

Best regards from Germany!
Have a great week! 


Wenn ihr die Absicht habt, den FunktionsTYP herauszufinden, dann gibt es sicher keine schnelle Operation.

Grundsätzlich ist es natürlich möglich, einen beliebigen Funktionstyp eurem Punkthaufen anzupassen. Ein paar Vorschläge dazu hat euch Luc schon gemacht, denn Mathcad hat eine Reihe von Standardfits bereits eingebaut und mit "genfit" könnt ihr einen versuchen, die optimalen Parameter für einen beliebigen selbst gebastelten Funktionstyp zu ermitteln.

Sinnvoller wäre es aber, da ihr ja wisst, woher die Daten stammen, bei welchem Vorgang sie sich ergeben haben, wenn ihr bereits aus dieser Information einen grundsätzlichen Funktionstyp angeben könntet, für den ihr dann die konkreten Parameter zB mittels genfit ermittelt.

Für solche Kurvenfits eigent sich besonders gut das Programm CurveExpert Professional. Die unbegrenzte Evaluierungsversion ist fürs Herumspielen ideal geeignet. Ihr gebt in das Programm eure Punktkoordinaten ein und es versucht eine Vielzahl (ca. 100) von Standardfunktionen dazu anzupassen.

 

Was Valery vorgeschlagen hat ist, in Mathcad eine Interpolationsfunktion zu kreieren, die dann wie jede andere Funktion auch numerisch genutzt werden kann (zB für Integration, etc.). Mir scheint allerdings, dass das nicht euer Ziel ist.

Top Tags