
From:  Doug Stewart 
Subject:  Re: Indexing functions? 
Date:  Mon, 9 Oct 2017 10:22:30 0400 
Okey;
I try to make an optimisation with using DE
I have a function which changes with two variable. One of them is frequency,
other one is resistance
for example:
func=@(x,f) x*f
I have an experimental data of "func" in frequency domain and I try to back
calculate x.
So I have for example;
f=[100,200,300];
exp_data=[200,400,600] as an experimental results. And I try to find best x
which satisfies
error_array=@(x,f) abs(func(x,f(index))exp_data(index))^2; %error function
for each frequency
sum_error=@(x,f) sum(error_array(x,f)) % I try to minimize that function
So I use sum_error for DE search.
I hope thats clear.
[Prev in Thread]  Current Thread  [Next in Thread] 