File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
All Forums
Origin Forum for Programming
LabTalk Forum
Function fitting
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
LabTalk Forum
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Dear Sirs,I need some assistance with a LabTalk script for nonlinear curve fitting.Below is my specific problem: First, I have a user-defined function named ‘fuc’, which contains three parameters: "AA", "BB", and "CC". All three parameters have an initial value of '1'. Additionally, I have a dataset and a graph based on this data. I need to implement the following using a LabTalk script: Select a specific segment of the data in the graph (e.g., from the maximum value to the last value ) as the fitting range for nonlinear curve fitting. Use the user-defined function file "fuc" as the fitting function. Before each fitting, I need to change the initial value of parameter "CC". Fit until convergence (when I manually operate, I find that may need click the "fit until convergence" button multiple times results in a correct fit, so in the script you need to consider how to ensure the fitting result is correct). After convergence, I need to extract the fitted parameter "CC" and save it directly into a new worksheet at the i-th row and j-th column. Could you provide me with a specific LabTalk code to solve this? Thank you very much!
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000