Hi,
I have 73 mat Data from a simulation and want to plot from this each folders the median pareto_fitness as one plot.
I could load each of the midians as M but can not plot them.
Can someone help me?
What works for now:
"
figure;
hold on;
for fileidx = 0:40
filedata = load(fullfile('F:\Simulationsergebnisse\Generationen_FMUOneHeatPump_ACWinter\ERROR_FMU_Gen85_Iter\Generations', sprintf('Gen_%d.mat', fileidx)));
M = median(filedata.pareto_fitness(:,1))
plot(M (1,:));
end
M =
1.3731e+03
M =
1.3818e+03
M =
1.3807e+03
M =
1.3807e+03
M =
1.3807e+03
M =
1.3807e+03
M =
1.3776e+03
M =
1.3776e+03
M =
1.3776e+03
M =
1.3776e+03
M =
1.3776e+03
M =
1.3776e+03
:
:
:"
Best Answer