[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexing functions?

From: denizyazgac
Subject: Re: Indexing functions?
Date: Mon, 9 Oct 2017 06:58:53 -0700 (MST)

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;
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.

Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]