Effacer les filtres
Effacer les filtres

linear optimization without any constraint

2 vues (au cours des 30 derniers jours)
MUKESH KUMAR le 31 Juil 2019
Modifié(e) : MUKESH KUMAR le 31 Juil 2019
I had following code:
% data
a = 30;
b = 150;
D = (b-a).*rand(100,1) + a;
% threshold
% difference
Diff = abs(D-Th);
S_Diff= sum(Diff);
Now I want to minimize S_Diff and a find correcponding vector V(100,1) for (D+V-Th) using linear optimiztion.

Réponses (0)


En savoir plus sur Nonlinear Optimization dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by