need help on genetic algorithm
古いコメントを表示
hi I have this code I run it on matlab command its ok working I try to make it as a fitness function for GA but its not working at all
%function MSE= GA(g_pulse_max,x1train_max)
Xrange=-3:0.1:2.4;
mu=-0.5;
sigma= 0.17;
g_pulse= 1/sqrt(2*pi*sigma^2) * exp( - ( Xrange - mu).^2/(2*sigma^2));
g_pulse_max=g_pulse/max(g_pulse);
plot(g_pulse_max);
hold on
x1train_max = x1train/max(x1train);
plot(x1train_max);
hold on
can anybody help me to solve it?
採用された回答
その他の回答 (1 件)
Asmaa Mohammed
2015 年 11 月 6 日
0 投票
1 件のコメント
Asmaa Mohammed
2015 年 11 月 6 日
編集済み: Asmaa Mohammed
2015 年 11 月 6 日
カテゴリ
ヘルプ センター および File Exchange で Parametric Modeling についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
