File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum
Origin Forum
Fitting with a summation ?
New Topic
Reply to Topic
Printer Friendly
Author
Topic
emmaf
USA
Posts
Posted - 06/27/2007 : 2:36:46 PM
I have some y(x) data that I want to fit using a
function that is a Sum(n=0 -> 10) f(x,n)
So, I basically need to sum over a few values of n.
Is there a way to do it?
Mike Buess
USA
3037 Posts
Posted - 06/27/2007 : 3:00:37 PM
This will work but make sure
Use Origin C
is checked at the bottom.
y = 0;
for(int n=0; n<11; n++)
{
y +=
f(x,n)
;
};
Mike Buess
Origin WebRing
Member
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000