Particle Swam Optimization Curve Fitting
Version 1.0.2 (2,56 KB) von
Lateef Adewale Kareem
Parameter fitting by Particle Swarm Optimization
This function fits the computes the Paramters of the given model that best fit the experimental measurements given, and subject to the nonlinear equality -funCEq and inequality constraints -funCInEq, and within the hyperbox between lb and ub
example is shown below
S = load('reaction');
X = S.reactants;
y = S.rate;
beta0 = S.beta;
lb = 0*beta0;
ub = 2*beta0;
penalty = 10;
popsize = 100;
maxiter = 200;
beta = PartSwarmFit(@(b)hougen(b,X),[],[], y, lb, ub, penalty, popsize, maxiter)
Zitieren als
Lateef Adewale Kareem (2024). Particle Swam Optimization Curve Fitting (https://www.mathworks.com/matlabcentral/fileexchange/90965-particle-swam-optimization-curve-fitting), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2021a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.2 | Change of title |
||
1.0.1 | Gave an example |
||
1.0.0 |