plot the final value of optimization
古いコメントを表示
Hello all,
I am facing a logical problem like,
N =10;
syms a,b
for i = 1:N
y(i)=2*a+3;
x(i)=4*b+9;
fun(i) = mean((y(i)-x(i))^2);
end
data=sum(fun);
after optimization we get values of a,b and value of data properly ,but now I want to plot data. But here data is a single value. How i can proceed it?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Problem-Based Optimization Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!