I am doing nonlinear fits on multiple datasets with several fitting parameters. Each dataset is fit with the same equation and same fitting parameters. Specifically, I am using the curve fitting toolbox in MATLAB. One of the fitting parameters should be the same across all datasets (so that the data is physically meaningful), although when I actually fit the data, this parameter can shift between sets. Is there some way to fit my datasets while constraining this fitting parameter to take on a single value?
$\begingroup$ $\endgroup$
8 - The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Why did Russia abstain, instead of vetoing, the UNSC resolution on Trump's Gaza plan?
- Why does crontab use a wrong editor?
- Instrumental parts page size, 8.5x11 or 9x12?
- Can poetry be substantively conducive to philosophy?
- Making the most out of rawhide armour
- Dactylic hexameter composition feedback
- How would you design a firearm for a fairy?
- Three-cushion billiards challenge.
- the profile of what I expected
- Find all integers n such that the sum of the factorials of its digits equals ⌊√n⌋
- Difference between 'acquit' in Exo 23:7 and Joel 3:21
- Most efficient discrete log algorithm for RFC3526 primes?
- Can military personnel disobey illegal orders under U.S. law?
- Why do interpretations of quantum phenomena focus on QM rather than QFT?
- Simplify into reduced form
- expl3: l3file: \iow_now:Ne... doesn't expand tokens before writing to the stream?
- A tiny Java framework for gathering running time statistics
- Is it theft if a person takes an item they believed was free?
- Was 2023 the first time a person in California was killed in a black bear attack?
- Movie in which a starship is hit by an asteroid and the small crew try to fix the ship to get home
- What do "spelling pronunciation" and "~" mean in Wiktionary?
- Eigenvalues of integrable Floquet system
- A "Great Classic", but also very confusing, SF novel about dreams within dreams within dreams (but very different from the movie “Inception”)
- Handling client integrity for closed/opensource mixed project
lsqnonlin(or maybelsqcurvefit,I can't remember). Then $\phi$ appears only once in the parameter vector :) $\endgroup$lsqcurvefitsupports this, as well as weights if needed. And if memory serves, that's one of its advantages overlsqnonlin, especially for this kind of curve-fitting/optimisation problem. The second - defining the function differently - is also a great solution, particularly in cases where the shared parameter is a known, fixed value. Occam's razor springs to mind ! $\endgroup$