%Hi, I have Matlab7 (realase 14 sp1). %I need approximate function using neural net. %My function is F(x1,x2). Let's take a simple %example (F(x1,x2)=(x1^2+0.5*x2^2)*0.5) x{1}=[-1:0.2:1];x{2}=[-1:0.1:1];%input data for i=1:length(x{1}) F{i}=(x{1}(i)^2+0.5*x{2}.^2)/2;%output %data (network targets) end %Thanks for any help. %Vladimir. %fuzzy2006@yandex.ru