grizos
Electrical
- Nov 30, 2005
- 2
I am very new to Matlab and such programms generally. I want to implement such a function:
y = sum(Xi) where i = 1 to 20
Xi are unknown parameters. how can I do this to Matlab?
Of course i can do: y= x1 + x2 + x3... but it's ridiculous.
My final target is to minimize such a function with genetical algorithms. Of course this is not the real function. It's simply demonstrates what I need to learn. Thank you all
y = sum(Xi) where i = 1 to 20
Xi are unknown parameters. how can I do this to Matlab?
Of course i can do: y= x1 + x2 + x3... but it's ridiculous.
My final target is to minimize such a function with genetical algorithms. Of course this is not the real function. It's simply demonstrates what I need to learn. Thank you all